forked from docs/doc-exports
Compare commits
1 Commits
main
...
strong_fix
Author | SHA1 | Date | |
---|---|---|---|
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