htmltoooxml 0.1.8 → 0.1.9

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: 3cb001e238ee4d2ff837aab283a0ef27be8122da
4
- data.tar.gz: 0e7c3d13ff6f6b4844c77ebf4f62b94d1eb20e55
3
+ metadata.gz: e54ac74a4bb1022ba6f3bb863c8efe689310ee3c
4
+ data.tar.gz: 945e3055e07b9066d4d212a8e9e5313118de24a9
5
5
  SHA512:
6
- metadata.gz: 78295a5905743f8633bebf1b963ef8befc244397ad06be1c438a6c017f726af77fead51a265cae424a2fe8437e6fca3d66018e11a6b12e648518ab562efb25b2
7
- data.tar.gz: 3bc208e783e500fbb03f4c685a7892fbdabb8b2fcaf18a3c3011f52f2ccd13377cf0bf27012ad0833415b839aa7eae646d876ad27b7e406c42f189eca88e0f9a
6
+ metadata.gz: b113b908797c0e840b1ec214b28baed3fe0c092d6cb1f62b99a90030e5b42c869c92834ea0e4011e51a2e786589108eff63d2f79e7af2d60b4eb04581d08cbf0
7
+ data.tar.gz: 779cfb247ef4088e8a9ab850a111a95aeecd17b4edf0efffc5682cbf67ec3bba8505fb8be4977d209235bbb1f3de24dfda7b5894affc0779262189af22eee9c2
@@ -1,3 +1,3 @@
1
1
  module Htmltoooxml
2
- VERSION = "0.1.8"
2
+ VERSION = "0.1.9"
3
3
  end
@@ -278,23 +278,27 @@
278
278
  <xsl:if test="string-length(.) > 0">
279
279
  <a:r>
280
280
  <xsl:if test="ancestor::i">
281
+ <a:rPr lang="en-GB" dirty="0"/ i="1">
281
282
  </xsl:if>
282
283
  <xsl:if test="ancestor::b">
284
+ <a:rPr lang="en-GB" dirty="0" b="1"/>
283
285
  </xsl:if>
284
286
  <xsl:if test="ancestor::u">
287
+ <a:rPr lang="en-GB" dirty="0"/>
285
288
  </xsl:if>
286
289
  <xsl:if test="ancestor::s">
290
+ <a:rPr lang="en-GB" dirty="0"/>
287
291
  </xsl:if>
288
292
  <xsl:if test="ancestor::sub">
293
+ <a:rPr lang="en-GB" dirty="0"/>
289
294
  </xsl:if>
290
295
  <xsl:if test="ancestor::sup">
296
+ <a:rPr lang="en-GB" dirty="0"/>
291
297
  </xsl:if>
292
- <a:rPr lang="en-GB" dirty="0"/>
293
298
  <a:t><xsl:value-of select="."/></a:t>
294
299
  </a:r>
295
300
  </xsl:if>
296
301
  </xsl:template>
297
-
298
302
  <xsl:template match="*">
299
303
  <xsl:apply-templates/>
300
304
  </xsl:template>
@@ -34,7 +34,6 @@
34
34
  <xsl:template match="source"/>
35
35
  <xsl:template match="style"/>
36
36
  <xsl:template match="video"/>
37
-
38
37
  <!-- Elements currently being handled as normal text. Remove tags only -->
39
38
  <xsl:template match="abbr"><xsl:apply-templates/></xsl:template>
40
39
  <xsl:template match="acronym"><xsl:apply-templates/></xsl:template>
@@ -20,22 +20,16 @@
20
20
  <xsl:template match="a[starts-with(@href, 'http://') or starts-with(@href, 'https://')]" name="link">
21
21
  <!--
22
22
  <a:hyperlink>
23
- <xsl:attribute name="r:id">rId<xsl:value-of select="count(preceding::a[starts-with(@href, 'http://') or starts-with(@href, 'https://')]) + 8" /></xsl:attribute>
24
23
  //-->
25
24
  <a:r>
26
- <!--
27
25
  <a:rPr>
28
- <a:rStyle a:val="Hyperlink"/>
29
- <a:color a:val="000080"/>
30
- <a:u a:val="single"/>
26
+ <a:hlinkClick>
27
+ <xsl:attribute name="r:id">rId<xsl:value-of select="count(preceding::a[starts-with(@href, 'http://') or starts-with(@href, 'https://')]) + 8" /></xsl:attribute>
28
+ </a:hlinkClick>
31
29
  </a:rPr>
32
- //-->
33
30
  <a:t>
34
31
  <xsl:value-of select="."/>
35
32
  </a:t>
36
33
  </a:r>
37
- <!--
38
- </a:hyperlink>
39
- //-->
40
34
  </xsl:template>
41
35
  </xsl:stylesheet>
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.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Boynton