yomichan/test
toasted-nutbread 5dcc2315d2
Structured content auto language (#2131)
* Pass JapaneseUtil instance to StructuredContentGenerator

* Move body of createStructuredContent to an internal function

* Create _createStructuredContentGenericElement

* Wrap structured content in a <span>

* Change _createStructuredContent to _appendStructuredContent

* Add public appendStructuredContent function

* Add missing return

* Remove unused _createDocumentFragment

* Automatically assign lang=ja for content with Japanese characters
without an explicit language

* Add test
2022-05-14 18:12:57 -04:00
..
data Structured content auto language (#2131) 2022-05-14 18:12:57 -04:00
test-all.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
test-anki-note-builder.js AnkiTemplateRendererContentManager (#2088) 2022-03-14 22:32:08 -04:00
test-cache-map.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
test-core.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
test-css-json.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
test-database.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
test-deinflector.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
test-dictionary.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
test-document-util.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
test-dom-text-scanner.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
test-hotkey-util.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
test-japanese-util.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
test-jsdom.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
test-json-schema.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
test-manifest.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
test-object-property-accessor.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
test-options-util.js Hide popup on cursor exit (#2109) 2022-04-03 22:52:53 -04:00
test-profile-conditions-util.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
test-text-source-map.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
test-translator.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
test-workers.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00