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 +4 -4
- data/lib/html2doc/math.rb +1 -1
- data/lib/html2doc/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e6f047ddba5195cecf759b3a5c3212493fe7562d24b7ccf2dfc449ab4864f2b2
|
4
|
+
data.tar.gz: 6f8a7d4330ffc6cf7750209e79778a6cd07740d924eac523803c7c556c8cadd9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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)
|
data/lib/html2doc/version.rb
CHANGED
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.
|
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
|
11
|
+
date: 2024-04-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: htmlentities
|