forked from hkc/mastoposter
Apparently that squishes some things together
This commit is contained in:
parent
291a8b8643
commit
cea0af44ba
|
@ -30,7 +30,7 @@ from html import escape
|
||||||
|
|
||||||
@register_text_node_converter("html")
|
@register_text_node_converter("html")
|
||||||
def proc_text_node_to_html(txt: NavigableString) -> str:
|
def proc_text_node_to_html(txt: NavigableString) -> str:
|
||||||
return escape(txt).strip()
|
return escape(txt)
|
||||||
|
|
||||||
|
|
||||||
@register_converter("a", "html")
|
@register_converter("a", "html")
|
||||||
|
|
Loading…
Reference in New Issue