forked from github/pelican
properly write out charref's
This commit is contained in:
parent
bc2bc7a330
commit
357f3a3da2
1 changed files with 1 additions and 1 deletions
|
|
@ -235,7 +235,7 @@ class HTMLReader(Reader):
|
|||
self._data_buffer += '&{};'.format(data)
|
||||
|
||||
def handle_charref(self, data):
|
||||
self._data_buffer += '&{};'.format(data)
|
||||
self._data_buffer += '&#{};'.format(data)
|
||||
|
||||
def build_tag(self, tag, attrs, close_tag):
|
||||
result = '<{}'.format(cgi.escape(tag))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue