Escape < and > in maintainer field

This commit is contained in:
Hamish Willee 2020-12-02 18:12:56 -08:00 committed by Lorenz Meier
parent 386b56fbce
commit d2eefbf2fb
1 changed files with 1 additions and 1 deletions

View File

@ -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('<', '&lt;').replace('>', '&gt;'))
url = param.GetFieldValue('url')
name_anchor='id="%s_%s_%s"' % (group.GetClass(),group.GetName(),name)
name_anchor=name_anchor.replace(' ','_').lower()