forked from docs/doc-exports
fixing the problem wiht empty space in the bold string at the end
This commit is contained in:
parent
4194b50d78
commit
76a83d092f
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user