html2doc 1.4.2 → 1.4.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/html2doc/lists.rb +1 -0
- data/lib/html2doc/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c9737d99ed7f4eaa814bd07e97e5b11b54f1f27a07c628b97e21216b9a3a816
|
4
|
+
data.tar.gz: 7778c03a49a8223a873f139fda9722a451700d6c39df1003dde40bf8cb8e6bfb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b9b0479132c6115e69449fec5797c3e30007790940c9530f59cb74c5bf8598f1d01b6c180c42a9bc87880c86636cf9719f4e704036f2afe8adb264312867d1eb
|
7
|
+
data.tar.gz: 616429b25b5cd9d59db066f5085fb19a5d79d308d38cb0f4360ec66e85a3dc1163d5707de433155226e72cb86b065dbe03e9e07c9f1eb6dae66300a0169846e5
|
data/lib/html2doc/lists.rb
CHANGED
@@ -58,6 +58,7 @@ class Html2Doc
|
|
58
58
|
l["class"] ||= "MsoListParagraphCxSpMiddle"
|
59
59
|
next unless l.first_element_child&.name == "p"
|
60
60
|
|
61
|
+
l["style"] ||= ""
|
61
62
|
l["style"] += (l.first_element_child["style"]&.sub(/mso-list[^;]+;/, "") || "")
|
62
63
|
l.first_element_child.replace(l.first_element_child.children)
|
63
64
|
end
|
data/lib/html2doc/version.rb
CHANGED