yomichan/ext/js/display/sandbox
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
..
pronunciation-generator.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
structured-content-generator.js Structured content auto language (#2131) 2022-05-14 18:12:57 -04:00