slaw 0.15.0 → 0.15.1

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: 96b892b9bbe4ff26ec5609579851b092bb32aa9b
4
- data.tar.gz: fe30f6724d2c2bb282d3df0f173a749451f3e291
3
+ metadata.gz: 6077ac32a62ffd20ed6c20f1f27fc48471527d6a
4
+ data.tar.gz: ad9c45f24331e6df41ca3dbee780584345a73806
5
5
  SHA512:
6
- metadata.gz: 977c23bc3650313e40d7fa7358dd848d51011da6329f3b4d905f388b6c79bfbbcf488b27ddd68b5f821365e3a1b1cfebc39f78d52c05257579f484ab2985714c
7
- data.tar.gz: '0528d773d487b6cde6e5b67c3a4aa69f89c389e2ec62136c0495ec7df9f5278fba5023f9aac33b7bb542a5f795989b163f3d109fd558e484fed2d5848fd7437e'
6
+ metadata.gz: 991efe1d467cefa23fb0c8cb9045af0bd56b31e9e033f48adce4a38059ed4ae5ac20a06f70d6e6d056d96a392b351c3a7211051673b32701fd273a5afb46c33d
7
+ data.tar.gz: c3f68343a148ea00c7393feaddfe8599f35669af798282d823c88aa841d296c104d511f06e2282f05d9ab27d39bf122fc6767019f0d3c6b3bda10919a819a168
data/README.md CHANGED
@@ -218,6 +218,10 @@ Akoma Ntoso `component` elements at the end of the XML document, with a name of
218
218
 
219
219
  ## Changelog
220
220
 
221
+ ### 0.15.1
222
+
223
+ * Ignore non-AKN compatible table attributes
224
+
221
225
  ### 0.15.0
222
226
 
223
227
  * Support tables in many non-PDF documents (eg. Word documents) by converting to HTML and then to Akoma Ntoso
@@ -28,17 +28,8 @@
28
28
 
29
29
  <xsl:template match="table">
30
30
  <xsl:text>{| </xsl:text>
31
-
32
- <!-- attributes -->
33
- <xsl:for-each select="@*[local-name()!='id']">
34
- <xsl:value-of select="local-name(.)" />
35
- <xsl:text>="</xsl:text>
36
- <xsl:value-of select="." />
37
- <xsl:text>" </xsl:text>
38
- </xsl:for-each>
39
31
  <xsl:text>
40
32
  |-</xsl:text>
41
-
42
33
  <xsl:apply-templates />
43
34
  <xsl:text>
44
35
  |}
@@ -65,8 +56,8 @@
65
56
  </xsl:choose>
66
57
 
67
58
  <!-- attributes -->
68
- <xsl:if test="@*">
69
- <xsl:for-each select="@*">
59
+ <xsl:if test="@rowspan|@colspan">
60
+ <xsl:for-each select="@rowspan|@colspan">
70
61
  <xsl:value-of select="local-name(.)" />
71
62
  <xsl:text>="</xsl:text>
72
63
  <xsl:value-of select="." />
data/lib/slaw/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Slaw
2
- VERSION = "0.15.0"
2
+ VERSION = "0.15.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slaw
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.15.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Greg Kempe