Compare commits

...

1 Commits

View File

@ -201,6 +201,8 @@ class OTCDocConvertor:
for strong in soup.body.find_all("strong"): for strong in soup.body.find_all("strong"):
if strong.a: if strong.a:
strong.unwrap() strong.unwrap()
if strong.string.endswith(' '):
strong.string=strong.string[:-1]
# table anchors - some tables are referred. Some are having anchor in # table anchors - some tables are referred. Some are having anchor in
# front, some not. In order to cope with that we analyze every table # front, some not. In order to cope with that we analyze every table