metanorma-standoc 1.3.27 → 1.3.28
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8ee3fb2a341c932aff7e68ccb8c048151741abcb0faaaeacc7397ec9f2b2d57e
|
4
|
+
data.tar.gz: d61e8f1944322c8f2d8a43dff3f0dc9fb6f3c74caffd3ce17998e1b7e25ff7a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 88eccb85c42a5a580f6a56a43ebd86122583fda463ceb4d1599671f482e5a6341ab4299f88d40a07aa639953c701a846101bbe3453dbf44a66947c7641d0cda2
|
7
|
+
data.tar.gz: f4cfbe3757116cb13eda00da0f01fb97b9548ae4eb5b9c5c56b3463ffcd3ab1dcbdddf182799b280ab430e7dbd4ee30179764c332c326238e98a5c1b3ef8a899
|
@@ -54,7 +54,6 @@ module Asciidoctor
|
|
54
54
|
quotesource_cleanup(xmldoc)
|
55
55
|
callout_cleanup(xmldoc)
|
56
56
|
footnote_cleanup(xmldoc)
|
57
|
-
empty_element_cleanup(xmldoc)
|
58
57
|
mathml_cleanup(xmldoc)
|
59
58
|
script_cleanup(xmldoc)
|
60
59
|
docidentifier_cleanup(xmldoc)
|
@@ -64,6 +63,7 @@ module Asciidoctor
|
|
64
63
|
boilerplate_cleanup(xmldoc)
|
65
64
|
smartquotes_cleanup(xmldoc)
|
66
65
|
para_cleanup(xmldoc)
|
66
|
+
empty_element_cleanup(xmldoc)
|
67
67
|
img_cleanup(xmldoc)
|
68
68
|
xmldoc
|
69
69
|
end
|
@@ -74,7 +74,7 @@ module Asciidoctor
|
|
74
74
|
def make_annexes(x)
|
75
75
|
x.xpath("//*[@annex]").each do |y|
|
76
76
|
y.delete("annex")
|
77
|
-
next if y.name == "annex"
|
77
|
+
next if y.name == "annex" || !y.ancestors("annex").empty?
|
78
78
|
y.wrap("<annex/>")
|
79
79
|
y.parent["id"] = "_#{UUIDTools::UUID.random_create}"
|
80
80
|
y.parent["obligation"] = y["obligation"]
|