X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/d2410575d72f68d7777c4344600b1af75f2515c1..61486d20fd5bf0a187868e3997ca7cdabe8acde7:/forum/utils/html.py diff --git a/forum/utils/html.py b/forum/utils/html.py index d424382..70fe1b3 100644 --- a/forum/utils/html.py +++ b/forum/utils/html.py @@ -58,7 +58,7 @@ def html2text(s, ignore_tags=(), indent_width=4, page_width=80): return mark_safe(parser.result) def buildtag(name, content, **attrs): - return mark_safe('<%s %s>%s' % (name, " ".join('%s="%s"' % i for i in attrs.items()), str(content))) + return mark_safe('<%s %s>%s' % (name, " ".join('%s="%s"' % i for i in attrs.items()), str(content), name)) def hyperlink(url, title, **attrs): return mark_safe('%s' % (url, " ".join('%s="%s"' % i for i in attrs.items()), title))