diff options
-rw-r--r-- | .vscode/settings.json | 1 | ||||
-rw-r--r-- | ext/data/templates/anki-field-templates-upgrade-v24.handlebars | 2 | ||||
-rw-r--r-- | ext/data/templates/default-anki-field-templates.handlebars | 2 | ||||
-rw-r--r-- | test/data/html/document-util.html | 6 |
4 files changed, 6 insertions, 5 deletions
diff --git a/.vscode/settings.json b/.vscode/settings.json index 44bef962..5aa6512c 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -25,6 +25,7 @@ "typescript" ], "files.eol": "\n", + "files.trimTrailingWhitespace": true, "html-validate.validate": [ "html" ] diff --git a/ext/data/templates/anki-field-templates-upgrade-v24.handlebars b/ext/data/templates/anki-field-templates-upgrade-v24.handlebars index 2288737c..cd85028a 100644 --- a/ext/data/templates/anki-field-templates-upgrade-v24.handlebars +++ b/ext/data/templates/anki-field-templates-upgrade-v24.handlebars @@ -4,7 +4,7 @@ {{~#each definition.phoneticTranscriptions~}} {{~#each phoneticTranscriptions~}} <li> - {{~set "any" false~}} + {{~set "any" false~}} {{~#each tags~}} {{~#if (get "any")}}, {{else}}<i>({{/if~}} {{name}} diff --git a/ext/data/templates/default-anki-field-templates.handlebars b/ext/data/templates/default-anki-field-templates.handlebars index 07efd07e..63613acf 100644 --- a/ext/data/templates/default-anki-field-templates.handlebars +++ b/ext/data/templates/default-anki-field-templates.handlebars @@ -239,7 +239,7 @@ {{~#each definition.phoneticTranscriptions~}} {{~#each phoneticTranscriptions~}} <li> - {{~set "any" false~}} + {{~set "any" false~}} {{~#each tags~}} {{~#if (get "any")}}, {{else}}<i>({{/if~}} {{name}} diff --git a/test/data/html/document-util.html b/test/data/html/document-util.html index 8e007392..7ece0a6d 100644 --- a/test/data/html/document-util.html +++ b/test/data/html/document-util.html @@ -271,7 +271,7 @@ " わゐ ゑを", " " ] - }' + }' > <span> あいうえお @@ -353,7 +353,7 @@ " わゐ ゑを", " t" ] - }' + }' > <span> あいうえお @@ -394,7 +394,7 @@ " わゐ ゑを", " t" ] - }' + }' > <span> あいうえお |