html2doc 1.8.1 → 1.8.2

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: c3e05e40b48cb5fd12904dfbe339d432aa805b6f7c35952738d02901105b8b05
4
- data.tar.gz: bb94be8898d2ff595799da686679bf478ea83efe2a24fbc675340d3a1dc48d62
3
+ metadata.gz: e6f047ddba5195cecf759b3a5c3212493fe7562d24b7ccf2dfc449ab4864f2b2
4
+ data.tar.gz: 6f8a7d4330ffc6cf7750209e79778a6cd07740d924eac523803c7c556c8cadd9
5
5
  SHA512:
6
- metadata.gz: a70ab4dc2ebfc1e75bdf903ce603d67f0a869beccffe755a56988b44e84e3f89b902d6d6359280e14fd4f0896d5da03603a0c08519848b407a5d70dd0858c0c4
7
- data.tar.gz: 4c2438244dde8622e7ab8c9c1341c27a12744647fbe8be925940e3861d30bf0dad959f09c82e86c45bfaa43cad46d5a9722664a58ed2d919fa1b3a7a8175b3b9
6
+ metadata.gz: 933aaa2eaa8682c487d2b7fdc516ccd8a8298cc665e55ec830d9c27a98e19b2f812a946b40bafa142c2a7bb1dcd480d3119d481d1eda44add269d0b5b7406976
7
+ data.tar.gz: 3aa43a58bbc6ba867e3b10168669acaf1c0149c9c1f38ac9d825619b1ddc5819911521604266ac066e97315d5ee58379325a01e7038408e7e394478a3f132b50
data/lib/html2doc/math.rb CHANGED
@@ -167,7 +167,7 @@ class Html2Doc
167
167
  doc.root = ooxml_cleanup(xml, docnamespaces)
168
168
  # d = xml.parent["block"] != "false" # display_style
169
169
  ooxml = Nokogiri::XML(Plurimath::Math
170
- .parse(doc.to_xml(indent: 0), :mathml).to_omml(split_on_linebreak: true))
170
+ .parse(doc.root.to_xml(indent: 0), :mathml).to_omml(split_on_linebreak: true))
171
171
  ooxml = unitalic(accent_tr(ooxml))
172
172
  ooxml = ooml_clean(uncenter(xml, ooxml))
173
173
  xml.swap(ooxml)
@@ -1,3 +1,3 @@
1
1
  class Html2Doc
2
- VERSION = "1.8.1".freeze
2
+ VERSION = "1.8.2".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: html2doc
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.1
4
+ version: 1.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-05 00:00:00.000000000 Z
11
+ date: 2024-04-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: htmlentities