cast content to str in remove_html_tags
This commit is contained in:
parent
ea589afabc
commit
6d0444de51
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ class WordpressMarkdownConverter:
|
||||||
self._fix_html_tag(content, fixed_lines)
|
self._fix_html_tag(content, fixed_lines)
|
||||||
else:
|
else:
|
||||||
# Add the content.
|
# Add the content.
|
||||||
fixed_lines.append(handle_regex_heuristics(content))
|
fixed_lines.append(handle_regex_heuristics(str(content)))
|
||||||
return fixed_lines
|
return fixed_lines
|
||||||
|
|
||||||
def _fix_html_tag(self, content, fixed_lines):
|
def _fix_html_tag(self, content, fixed_lines):
|
||||||
|
|
Loading…
Reference in a new issue