htmltoword 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/htmltoword/version.rb +1 -1
- data/xslt/html_to_wordml.xslt +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2a648825b1ca327c0b94f4ccd91e0bf81f54a676
|
4
|
+
data.tar.gz: 0101cff0541d50669ce1e7bfb2f02f03ebb5e649
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6404deddb1dbc0cc84d33dea7c538c705818599aeef0145ca7ddf132d497c13e763dd06b2cfa51004dbecbfc1580f67e0cd9446dbf7fd759c078e25f713e4e2c
|
7
|
+
data.tar.gz: 314b84c551154192b2d805a7912e45b615678d4b55cf308963f6fe7dbde3000b47079aab0f00da09f1aa529ef602d15642a6a4724cfd81e24b857aebafb992da
|
data/lib/htmltoword/version.rb
CHANGED
data/xslt/html_to_wordml.xslt
CHANGED
@@ -56,7 +56,7 @@
|
|
56
56
|
</w:p>
|
57
57
|
</xsl:template>
|
58
58
|
|
59
|
-
<xsl:template match="div[not(ancestor::p) and not(descendant::div) and not(descendant::p) and not(descendant::h1) and not(descendant::h2) and not(descendant::h3) and not(descendant::h4) and not(descendant::table) and not(descendant::li)]">
|
59
|
+
<xsl:template match="div[not(ancestor::p) and not(descendant::div) and not(descendant::p) and not(descendant::h1) and not(descendant::h2) and not(descendant::h3) and not(descendant::h4) and not(descendant::h5) and not(descendant::h6) and not(descendant::table) and not(descendant::li)]">
|
60
60
|
<xsl:comment>Divs should create a p if nothing above them has and nothing below them will</xsl:comment>
|
61
61
|
<w:p>
|
62
62
|
<xsl:apply-templates />
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: htmltoword
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nicholas Frandsen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-02-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionpack
|