You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$(DOCKER_CMD)$(DOCKER_QUOTE)$(ASCIIDOCTOR_TAGS)$(OPTIONS) -a tags-match-prefix='bad:' -a tags-output-suffix='-bad-tags.json'$<|| touch build/bad-tags.json$(DOCKER_QUOTE)
170
+
$(DOCKER_CMD)$(DOCKER_QUOTE)$(ASCIIDOCTOR_TAGS)$(OPTIONS) -a tags-match-prefix='duplicate:' -a tags-output-suffix='-duplicate-tags.json'$<|| touch $(BUILT_NORM_TAGS_DUPLICATE)$(DOCKER_QUOTE)
Copy file name to clipboardExpand all lines: tests/norm-rule/expected/test-norm-rules.json
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -55,6 +55,18 @@
55
55
}
56
56
]
57
57
},
58
+
{
59
+
"name": "formulae",
60
+
"def_filename": "tests/norm-rule/test.yaml",
61
+
"chapter_name": "my-chapter_name",
62
+
"tags": [
63
+
{
64
+
"name": "norm:formulae",
65
+
"text": "This paragraph looks like a formulae to Excel because it has this < sign in it. Make sure this gets written as a string, not a formulae in the XLSX or else it will create an error in Excel.",
Copy file name to clipboardExpand all lines: tests/norm-rule/expected/test-norm-tags.json
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,7 @@
6
6
"norm:paragraph:inline-anchors:entire": "Paragraph with inline anchor and something.",
7
7
"norm:paragraph:tag_with_newlines": "Here’s the first line. Here’s the second line.",
8
8
"norm:def": "This paragraph has two tags but we only ever get a tag for norm:def.",
9
+
"norm:formulae": "This paragraph looks like a formulae to Excel because it has this < sign in it. Make sure this gets written as a string, not a formulae in the XLSX or else it will create an error in Excel.",
9
10
"norm:table:no-anchors-in-cells:entire-table": "Header 1|Header 2\n===\nCell in column 1, row 1|Cell in column 2, row 1\nCell in column 1, row 2|Cell in column 2, row 2\n===",
10
11
"norm:table:anchors-in-cells:cell": "cell with anchor",
11
12
"norm:table:anchors-in-cells:entire-table": "===\ncell with anchor\ncell without anchor\n===",
Copy file name to clipboardExpand all lines: tests/norm-rule/test.adoc
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,6 +51,10 @@ This paragraph has two tags but we only ever get a tag for norm:def.
51
51
[[def]]
52
52
This paragraph has two tags but we'll never see either since the 1st isn't picked up by the tags backend as a tag and the second doesn't start with norm:
53
53
54
+
[[norm:formulae]]
55
+
This paragraph looks like a formulae to Excel because it has this < sign in it.
56
+
Make sure this gets written as a string, not a formulae in the XLSX or else it will create an error in Excel.
57
+
54
58
=== Chapter 2 - Table Tagging
55
59
56
60
// FAILS - Tag includes entire table but has adoc === prefixes/suffixes.
0 commit comments