forked from docs/doc-exports
Delete additional figure properties
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
118a109795
commit
a09d4de83b
@ -144,6 +144,7 @@ class OTCDocConvertor:
|
|||||||
del img["height"]
|
del img["height"]
|
||||||
del img["class"]
|
del img["class"]
|
||||||
del img["title"]
|
del img["title"]
|
||||||
|
del img["name"]
|
||||||
figure.append(img)
|
figure.append(img)
|
||||||
i.replace_with(figure)
|
i.replace_with(figure)
|
||||||
elif "section" in i.get("class", []):
|
elif "section" in i.get("class", []):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user