forked from docs/doc-exports
Escape lone "-"
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
e0f36a7216
commit
880c21659d
@ -346,6 +346,8 @@ class OTCDocConvertor:
|
||||
r"^(\\[\$\\bfnrtvu]{1})$",
|
||||
# CES contains: urn:smn:([a-z]|[A-Z]|[0-9]|\\-){1,32}:....
|
||||
r"\s(urn:smn:\(.*)\.",
|
||||
# "-" only (in tables) is considered as list
|
||||
r"^-$",
|
||||
]
|
||||
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