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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 834f2d69887ce656cd78e78822c78c98a19017e01ff1fbaffb5bcf9951fb1419
4
- data.tar.gz: b7c12ae5d35ae84ac8de00d3cde42dc27549f5567623a5d88a50c3757a4c6dcd
3
+ metadata.gz: 8c9737d99ed7f4eaa814bd07e97e5b11b54f1f27a07c628b97e21216b9a3a816
4
+ data.tar.gz: 7778c03a49a8223a873f139fda9722a451700d6c39df1003dde40bf8cb8e6bfb
5
5
  SHA512:
6
- metadata.gz: 02a2b5f53337616b673d43f20a3f90594bcf5355288235d4eafe2622cac8e6af01d24ea2b05a8d2fea0fb9256b4d43686f3c81cb075ea562f6fcb616791abfeb
7
- data.tar.gz: 565a6554f2de5e99bbaa9cc5de81e3c7d9789e36d9251641518cf82f44c2183a36a9305d2054535396813b21e475a31af1ca9577c9cb7c4bd7a9dbc0b872cf6b
6
+ metadata.gz: b9b0479132c6115e69449fec5797c3e30007790940c9530f59cb74c5bf8598f1d01b6c180c42a9bc87880c86636cf9719f4e704036f2afe8adb264312867d1eb
7
+ data.tar.gz: 616429b25b5cd9d59db066f5085fb19a5d79d308d38cb0f4360ec66e85a3dc1163d5707de433155226e72cb86b065dbe03e9e07c9f1eb6dae66300a0169846e5
@@ -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
@@ -1,3 +1,3 @@
1
1
  class Html2Doc
2
- VERSION = "1.4.2".freeze
2
+ VERSION = "1.4.2.1".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: html2doc
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.2
4
+ version: 1.4.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.