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:
gtema 2022-09-29 16:25:44 +00:00 committed by zuul
parent 118a109795
commit a09d4de83b

View File

@ -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", []):