aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzyxw59 <emilycf@mit.edu>2018-05-19 20:50:53 -0400
committerWaylan Limberg <waylan.limberg@icloud.com>2018-07-24 14:53:06 -0400
commitae914abeac5d5527e1ada500fe7faf545fbb638c (patch)
tree4a03d1364c1ddea48388a96adb04ce20fcfcdb9f
parent67bb12b3e508b389f18efb6a992cc390680a7235 (diff)
downloadmarkdown-ae914abeac5d5527e1ada500fe7faf545fbb638c.tar.gz
markdown-ae914abeac5d5527e1ada500fe7faf545fbb638c.tar.bz2
markdown-ae914abeac5d5527e1ada500fe7faf545fbb638c.zip
Add missing comma in HTML_EMPTY
Because of the missing comma, the last two tags in the list, `meta` and `param` are interpreted as a single string literal `"metaparam"`, so the serializer fails to correctly produce empty elements for `<meta>` and `<param>` tags.
-rw-r--r--markdown/serializers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/markdown/serializers.py b/markdown/serializers.py
index 187d755..308cf7a 100644
--- a/markdown/serializers.py
+++ b/markdown/serializers.py
@@ -51,7 +51,7 @@ else: # pragma: no cover
__all__ = ['to_html_string', 'to_xhtml_string']
HTML_EMPTY = ("area", "base", "basefont", "br", "col", "frame", "hr",
- "img", "input", "isindex", "link", "meta" "param")
+ "img", "input", "isindex", "link", "meta", "param")
try:
HTML_EMPTY = set(HTML_EMPTY)