forked from hkc/mastoposter
Merge branch 'CyberTailor-ul_ol'
This commit is contained in:
commit
2fac32e770
|
@ -264,7 +264,7 @@ def node_to_plaintext(el: PageElement) -> str:
|
||||||
" \u2022 %s" % li.replace("\n", "\n ").strip()
|
" \u2022 %s" % li.replace("\n", "\n ").strip()
|
||||||
for li in children
|
for li in children
|
||||||
)
|
)
|
||||||
if el.name == "ol"
|
if el.name == "ul"
|
||||||
else (
|
else (
|
||||||
"%d. %s" % (i, li.replace("\n", "\n ").strip())
|
"%d. %s" % (i, li.replace("\n", "\n ").strip())
|
||||||
for i, li in enumerate(children)
|
for i, li in enumerate(children)
|
||||||
|
|
Loading…
Reference in New Issue