aboutsummaryrefslogtreecommitdiff
path: root/test/data
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-09-04 12:43:56 -0400
committerGitHub <noreply@github.com>2021-09-04 12:43:56 -0400
commitf68ad1f843607d4ba1ad216fe16305c420cee8d6 (patch)
tree0a1dc9a3d78df62fee501f467dce3277fb5b4f1e /test/data
parenteb457caea9b3e5484355ffce80edb371d3bf232d (diff)
Structured content data (#1930)
* Add support for structured-content data attributes * Assign dataset properties * Don't remove data-sc attributes * Use helper functions * Update test data
Diffstat (limited to 'test/data')
-rw-r--r--test/data/dictionaries/valid-dictionary1/term_bank_1.json15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/data/dictionaries/valid-dictionary1/term_bank_1.json b/test/data/dictionaries/valid-dictionary1/term_bank_1.json
index 58136d79..0d94d6d1 100644
--- a/test/data/dictionaries/valid-dictionary1/term_bank_1.json
+++ b/test/data/dictionaries/valid-dictionary1/term_bank_1.json
@@ -164,6 +164,21 @@
]
},
"margin"
+ ]},
+ {"type": "structured-content", "content": [
+ "text 1 ",
+ {
+ "tag": "span",
+ "data": {
+ "": "empty",
+ "a": "b",
+ "c": "d"
+ },
+ "content": [
+ "text 2"
+ ]
+ },
+ " text 3"
]}
],
100, "P E1"