mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
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)
|
self._data_buffer += '&{};'.format(data)
|
||||||
|
|
||||||
def handle_charref(self, data):
|
def handle_charref(self, data):
|
||||||
self._data_buffer += '&{};'.format(data)
|
self._data_buffer += '&#{};'.format(data)
|
||||||
|
|
||||||
def build_tag(self, tag, attrs, close_tag):
|
def build_tag(self, tag, attrs, close_tag):
|
||||||
result = '<{}'.format(cgi.escape(tag))
|
result = '<{}'.format(cgi.escape(tag))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue