From 4be8c58b8867425ca68d16e7bf1a58116685f6af Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Thu, 7 Mar 2019 16:05:38 -0500 Subject: fix silly error --- markdown/htmlparser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/markdown/htmlparser.py b/markdown/htmlparser.py index 677f2ba..8c675a6 100644 --- a/markdown/htmlparser.py +++ b/markdown/htmlparser.py @@ -63,7 +63,7 @@ class HTMLExtractor(HTMLParser): self.cleandoc.append(text) def handle_endtag(self, tag): - text = '<{0}/>'.format(tag) + text = ''.format(tag) if tag in self.stack: while self.stack: if self.stack.pop() == tag: -- cgit v1.2.1