mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
Escape < and > in maintainer field
This commit is contained in:
parent
386b56fbce
commit
d2eefbf2fb
@ -89,7 +89,7 @@ class MarkdownTablesOutput():
|
||||
maintainer = param.GetMaintainer()
|
||||
maintainer_entry = ''
|
||||
if maintainer != '':
|
||||
maintainer_entry = '<p>Maintainer: %s</p>' % (maintainer)
|
||||
maintainer_entry = '<p>Maintainer: %s</p>' % (maintainer.replace('<', '<').replace('>', '>'))
|
||||
url = param.GetFieldValue('url')
|
||||
name_anchor='id="%s_%s_%s"' % (group.GetClass(),group.GetName(),name)
|
||||
name_anchor=name_anchor.replace(' ','_').lower()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user