forked from docs/doc-exports
Fix OBS API conversion
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: gtema <artem.goncharov@gmail.com> Co-committed-by: gtema <artem.goncharov@gmail.com>
This commit is contained in:
parent
63e77a3648
commit
22737368b1
@ -312,6 +312,8 @@ class OTCDocConvertor:
|
||||
r"\s([^a-zA-Z0-9\s]{8,})",
|
||||
# BMS API contain sequence in a dedicated paragraph
|
||||
r"^([^a-zA-Z0-9\s]{10,})$",
|
||||
# OBS special chars - "\$" "\\" etc
|
||||
r"^(\\[\$\\bfnrtvu]{1})$",
|
||||
]
|
||||
for to_rawize in rawize_strings:
|
||||
for p in soup.body.find_all(string=re.compile(to_rawize)):
|
||||
|
Loading…
x
Reference in New Issue
Block a user