aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--markdown/preprocessors.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/markdown/preprocessors.py b/markdown/preprocessors.py
index b59f057..28f731f 100644
--- a/markdown/preprocessors.py
+++ b/markdown/preprocessors.py
@@ -78,7 +78,7 @@ class HtmlBlockPreprocessor(Preprocessor):
attrs[ma.group('attr2').strip()] = ""
return tag, len(m.group(0)), attrs
else:
- tag = block[1:].replace(">", " ", 1).split()[0].lower()
+ tag = block[1:].split(">", 1)[0].lower()
return tag, len(tag)+2, {}
def _recursive_tagfind(self, ltag, rtag, start_index, block):