cast content to str in remove_html_tags

This commit is contained in:
Denis-Cosmin Nutiu 2023-05-31 19:30:36 +03:00
parent ea589afabc
commit 6d0444de51

View file

@ -63,7 +63,7 @@ class WordpressMarkdownConverter:
self._fix_html_tag(content, fixed_lines)
else:
# Add the content.
fixed_lines.append(handle_regex_heuristics(content))
fixed_lines.append(handle_regex_heuristics(str(content)))
return fixed_lines
def _fix_html_tag(self, content, fixed_lines):