htmltoooxml 0.3.1 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 813a4a676cbe32946547c47bc19d27403592b662
4
- data.tar.gz: 8842f365b852aed03321dbc4e729bfd2330b1e31
3
+ metadata.gz: 9c8ecaa729e1ab488ea0e944bc216daa2420179b
4
+ data.tar.gz: 0ef5eba98f0834f6ffb1c98d6f0d69367b17f89e
5
5
  SHA512:
6
- metadata.gz: 98b534b1f5096e41e437c7b6edd4afa5e9c84cb4ecb087aad0af92fb7539a20882ac09c0c2b15a8a7b6dee0a481d44a4a1161b935c68ffbb1953aa2ca8925fbb
7
- data.tar.gz: 2a08c1bfeaa4247aa0feb382e025824cc3088831f975d498e15479303646eea27efa31dc492a68de8cd89c5f10f69a23669d925478e229009c2da9537cbaa49a
6
+ metadata.gz: 8e68f2f21b517e85f8b8b9bdf6cd3c5bc379814a38f383d58f01e14db86f89647035577c6c402df05296135850ff6e8aa152909609b9ddf0b913e43afe7fb64b
7
+ data.tar.gz: b81760a3c11421a05d285bcfc0f00dee06a567a99c2d216547ca4ea82f7b58262304a4494093e91043ab1e619204e2ee68bfc82f843b5903c2ed840e2b308deb
@@ -1,3 +1,3 @@
1
1
  module Htmltoooxml
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
3
3
  end
@@ -121,16 +121,12 @@
121
121
  <xsl:for-each select="node()">
122
122
  <xsl:choose>
123
123
  <xsl:when test="self::br">
124
- <p:txBody>
125
- <a:bodyPr/>
126
- <a:lstStyle/>
127
124
  <a:p>
128
125
  <a:r>
129
126
  <a:rPr dirty="0"/>
130
127
  <a:t><xsl:value-of select="."/></a:t>
131
128
  </a:r>
132
129
  </a:p>
133
- </p:txBody>
134
130
  </xsl:when>
135
131
  <xsl:when test="self::ol|self::ul">
136
132
  <xsl:apply-templates>
@@ -141,28 +137,20 @@
141
137
  <xsl:variable name="ilvl" select="count(ancestor::ol) + count(ancestor::ul) - 1"></xsl:variable>
142
138
  <xsl:choose>
143
139
  <xsl:when test="$preceding-siblings + count(preceding-sibling::*) > 0">
144
- <p:txBody>
145
- <a:bodyPr/>
146
- <a:lstStyle/>
147
140
  <a:p>
148
141
  <a:r>
149
142
  <a:rPr dirty="0"/>
150
143
  <a:t><xsl:value-of select="."/></a:t>
151
144
  </a:r>
152
145
  </a:p>
153
- </p:txBody>
154
146
  </xsl:when>
155
147
  <xsl:otherwise>
156
- <p:txBody>
157
- <a:bodyPr/>
158
- <a:lstStyle/>
159
148
  <a:p>
160
149
  <a:r>
161
150
  <a:rPr dirty="0"/>
162
151
  <a:t><xsl:value-of select="."/></a:t>
163
152
  </a:r>
164
153
  </a:p>
165
- </p:txBody>
166
154
  </xsl:otherwise>
167
155
  </xsl:choose>
168
156
  </xsl:when>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: htmltoooxml
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Boynton