diff options
| author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2021-09-04 12:43:56 -0400 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-04 12:43:56 -0400 | 
| commit | f68ad1f843607d4ba1ad216fe16305c420cee8d6 (patch) | |
| tree | 0a1dc9a3d78df62fee501f467dce3277fb5b4f1e /test | |
| parent | eb457caea9b3e5484355ffce80edb371d3bf232d (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')
| -rw-r--r-- | test/data/dictionaries/valid-dictionary1/term_bank_1.json | 15 | 
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" |