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