diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2022-05-14 18:12:57 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-14 18:12:57 -0400 |
commit | 5dcc2315d242bcec29cc478618d448c941f73ab1 (patch) | |
tree | 9d36e666cc71bb1c1a89c725eaa9fdaa5c938626 /ext/js/comm/anki.js | |
parent | 6a74746113c724e750620d10b58ad6bac94060c9 (diff) |
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
Diffstat (limited to 'ext/js/comm/anki.js')
0 files changed, 0 insertions, 0 deletions