Skip to content

Commit

Permalink
Fix EOL whitespace (#631)
Browse files Browse the repository at this point in the history
* Remove eol whitespace

* Add setting
  • Loading branch information
toasted-nutbread authored Feb 4, 2024
1 parent e4c6608 commit 1a10af1
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"typescript"
],
"files.eol": "\n",
"files.trimTrailingWhitespace": true,
"html-validate.validate": [
"html"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down
2 changes: 1 addition & 1 deletion ext/data/templates/default-anki-field-templates.handlebars
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down
6 changes: 3 additions & 3 deletions test/data/html/document-util.html
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ <h1>DocumentUtil Tests</h1>
" わゐ ゑを",
" "
]
}'
}'
>
<span>
あいうえお
Expand Down Expand Up @@ -353,7 +353,7 @@ <h1>DocumentUtil Tests</h1>
" わゐ ゑを",
" t"
]
}'
}'
>
<span>
あいうえお
Expand Down Expand Up @@ -394,7 +394,7 @@ <h1>DocumentUtil Tests</h1>
" わゐ ゑを",
" t"
]
}'
}'
>
<span>
あいうえお
Expand Down

0 comments on commit 1a10af1

Please sign in to comment.