1
0
forked from docs/doc-exports

Compare commits

...

1 Commits

Author SHA1 Message Date
701d756f35 dealing with empty space in strong.span element 2023-02-16 16:44:33 +00:00

View File

@ -354,6 +354,11 @@ class OTCDocConvertor:
curr = el.string curr = el.string
el.string.replace_with(curr[:-1]) el.string.replace_with(curr[:-1])
el.insert_after(" ") el.insert_after(" ")
elif (
el.string
and el.span and el.span.string == " "
):
el.span.decompose()
# A very dirty hack - if we have "*" inside of em (italic) regular # A very dirty hack - if we have "*" inside of em (italic) regular
# escaping is not working anymore (pandoc is not producing proper # escaping is not working anymore (pandoc is not producing proper