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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cb48da4647fc58292a4ce99ab8a6f32b46e0abb3
4
- data.tar.gz: be340aa1bfc1c92b35ee18e5fcd81c14f53d2ef5
3
+ metadata.gz: 2a648825b1ca327c0b94f4ccd91e0bf81f54a676
4
+ data.tar.gz: 0101cff0541d50669ce1e7bfb2f02f03ebb5e649
5
5
  SHA512:
6
- metadata.gz: 567a923c0ed855e3096de5220b369b5a71189b8542a183b57ef32b74f2297b1e49bffd2c58721cb28ea7e434ae7a6abb70c727724b1390637e880595629b2a01
7
- data.tar.gz: 9747046352c1858bd604076395a7fd2b02ae80d59a886c0244c62155e1c072454e06d81da04477bf5002d5c9ff32b9379618cd64ef7b11ed789ecb159a34a2b7
6
+ metadata.gz: 6404deddb1dbc0cc84d33dea7c538c705818599aeef0145ca7ddf132d497c13e763dd06b2cfa51004dbecbfc1580f67e0cd9446dbf7fd759c078e25f713e4e2c
7
+ data.tar.gz: 314b84c551154192b2d805a7912e45b615678d4b55cf308963f6fe7dbde3000b47079aab0f00da09f1aa529ef602d15642a6a4724cfd81e24b857aebafb992da
@@ -1,3 +1,3 @@
1
1
  module Htmltoword
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
@@ -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
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-01-14 00:00:00.000000000 Z
11
+ date: 2014-02-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack