forked from docs/doc-exports
Skip escaping inside of bold
Reviewed-by: Goncharov, Artem <artem.goncharov@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
6db57a0298
commit
06b29f1a30
@ -321,7 +321,8 @@ class OTCDocConvertor:
|
|||||||
if p.string:
|
if p.string:
|
||||||
curr = p.string
|
curr = p.string
|
||||||
part = re.search(to_rawize, curr)
|
part = re.search(to_rawize, curr)
|
||||||
if len(part.groups()) > 0:
|
# We should not escape inside of bold - this is wrong
|
||||||
|
if len(part.groups()) > 0 and p.parent.name != "b":
|
||||||
logging.debug(
|
logging.debug(
|
||||||
"Found element to rawize: %s", part.group(1)
|
"Found element to rawize: %s", part.group(1)
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user