Skip to content

Commit

Permalink
Strip out html escape comments
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishwillee authored Aug 8, 2024
1 parent c377cdb commit 0214f81
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/lib/parameters/px4params/markdownout.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,13 @@ def __init__(self, groups):
for param in group.GetParams():
name = param.GetName()
short_desc = param.GetFieldValue("short_desc") or ''
#short_desc = html.escape(short_desc)

# Add fullstop to short_desc if not present
if short_desc:
if not short_desc.strip().endswith('.'):
short_desc += "."

long_desc = param.GetFieldValue("long_desc") or ''
#long_desc = html.escape(long_desc)

#Strip out short text from start of long text, if it ends in fullstop
if long_desc.startswith(short_desc):
Expand Down

0 comments on commit 0214f81

Please sign in to comment.