Fix charrefs.
Forgot to include # when reconstructing charrefs from their "name".
This commit is contained in:
parent
6eec395254
commit
6e9275da7f
2 changed files with 19 additions and 1 deletions
|
|
@ -404,7 +404,7 @@ class MatrixHtmlParser(HTMLParser):
|
|||
self.text += self.unescape("&{};".format(name))
|
||||
|
||||
def handle_charref(self, name):
|
||||
self.text += self.unescape("&{};".format(name))
|
||||
self.text += self.unescape("&#{};".format(name))
|
||||
|
||||
def get_substrings(self):
|
||||
if self.text:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue