From ca97e38bd22875e23cfe6f70d1803ea31d6f0e89 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Fri, 2 Jul 2021 22:46:38 -0400 Subject: Anki support for structured-content (#1786) * Update how glossary text is formatted * Update structured content and image generation * Pass root data to _createStructuredContentGenerator * Implement media URLs * Update documentation * Update options util * Apply styles to content * Improve HTML normalization * Update DatabaseVM.fetch function * Update test * Update test data --- test/data/anki-note-builder-test-results.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'test/data') diff --git a/test/data/anki-note-builder-test-results.json b/test/data/anki-note-builder-test-results.json index c6405439..c8357cb3 100644 --- a/test/data/anki-note-builder-test-results.json +++ b/test/data/anki-note-builder-test-results.json @@ -587,9 +587,9 @@ "frequencies": "", "furigana": "画像がぞう", "furigana-plain": "画像[がぞう]", - "glossary": "
(n, Test Dictionary 2)
", - "glossary-brief": "
", - "glossary-no-dictionary": "
(n)
", + "glossary": "
(n, Test Dictionary 2)
", + "glossary-brief": "
", + "glossary-no-dictionary": "
(n)
", "part-of-speech": "Noun", "pitch-accents": "No pitch accent data", "pitch-accent-graphs": "No pitch accent data", @@ -1042,9 +1042,9 @@ "frequencies": "", "furigana": "画像がぞう", "furigana-plain": "画像[がぞう]", - "glossary": "
(n, Test Dictionary 2)
", - "glossary-brief": "
", - "glossary-no-dictionary": "
(n)
", + "glossary": "
(n, Test Dictionary 2)
", + "glossary-brief": "
", + "glossary-no-dictionary": "
(n)
", "part-of-speech": "Noun", "pitch-accents": "No pitch accent data", "pitch-accent-graphs": "No pitch accent data", -- cgit v1.2.3