isodoc 3.6.7 → 3.6.8
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 +4 -4
- data/lib/isodoc/function/table.rb +5 -4
- data/lib/isodoc/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b07df77d0c450a6adddc1293862322163f6ffb3f246e9ac55d515819103d5be7
|
|
4
|
+
data.tar.gz: 8e947d47e803c897b4b8e48586a0ea7ed7a27ce12e45d20ee86994c1d9bd9787
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7058ac04b39b7aa51defd038aa73ba5d8d77960de3e0c1bc6825463537b30d98478370aae77a1c40e21442c34c5a8ddd2171ef63c63cfcd0d22058e9cb11766a
|
|
7
|
+
data.tar.gz: 775e805c7175a849175f5970971d635c1a8b6973e15e2db09110dd3b9c5efec33f0fd1bc6c73b1cb20624f1fa0dc3d6f7e666dd4fa145644fa966fe9252c0d1c
|
|
@@ -68,12 +68,13 @@ module IsoDoc
|
|
|
68
68
|
|
|
69
69
|
# metanorma/metanorma-pdfa#33: a custom @class is ADDITIVE -- it augments
|
|
70
70
|
# the computed base class (MsoISOTable, or "plain" under %plain) rather
|
|
71
|
-
# than replacing it, and is orthogonal to bordering. `modspec
|
|
72
|
-
# sourcecode line-numbering `rouge-line-table`
|
|
73
|
-
#
|
|
71
|
+
# than replacing it, and is orthogonal to bordering. `modspec`, the
|
|
72
|
+
# sourcecode line-numbering `rouge-line-table`, and `dl` (a definition list
|
|
73
|
+
# rendered as a table) stay grandfathered internal values with replace
|
|
74
|
+
# semantics (mutually exclusive with MsoISOTable).
|
|
74
75
|
def table_html_class(node, custom)
|
|
75
76
|
node["plain"] == "true" and return ["plain", custom].compact.join(" ")
|
|
76
|
-
%w(modspec rouge-line-table).include?(custom) and return custom
|
|
77
|
+
%w(modspec rouge-line-table dl).include?(custom) and return custom
|
|
77
78
|
["MsoISOTable", custom].compact.join(" ")
|
|
78
79
|
end
|
|
79
80
|
|
data/lib/isodoc/version.rb
CHANGED