diff options
author | StefanVukovic99 <stefanvukovic44@gmail.com> | 2024-03-03 05:48:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-03 04:48:57 +0000 |
commit | 5ec2344df95da39cda4ad07cfe5181b05fa24830 (patch) | |
tree | 3774ad807c1b2c301fd0e49ae1c2548e0c4fc6bf /ext/data | |
parent | f162884b4cbfa5adf4a4e3dbbbad0d635fb5d603 (diff) |
fix whitespace (#755)
Diffstat (limited to 'ext/data')
3 files changed, 12 insertions, 3 deletions
diff --git a/ext/data/templates/anki-field-templates-upgrade-v27.handlebars b/ext/data/templates/anki-field-templates-upgrade-v27.handlebars index 67dca143..48060415 100644 --- a/ext/data/templates/anki-field-templates-upgrade-v27.handlebars +++ b/ext/data/templates/anki-field-templates-upgrade-v27.handlebars @@ -18,4 +18,4 @@ {{~/if~}} {{~/if~}} {{/inline}} -{{>>>>>>>}} +{{>>>>>>>}}
\ No newline at end of file diff --git a/ext/data/templates/anki-field-templates-upgrade-v28.handlebars b/ext/data/templates/anki-field-templates-upgrade-v28.handlebars new file mode 100644 index 00000000..8279e5e9 --- /dev/null +++ b/ext/data/templates/anki-field-templates-upgrade-v28.handlebars @@ -0,0 +1,9 @@ +{{<<<<<<<}} +{{#*inline "url"}} + <a href="{{definition.url}}">{{definition.url}}</a> +{{/inline}} +{{=======}} +{{~#*inline "url"~}} + <a href="{{definition.url}}">{{definition.url}}</a> +{{~/inline~}} +{{>>>>>>>}}
\ No newline at end of file diff --git a/ext/data/templates/default-anki-field-templates.handlebars b/ext/data/templates/default-anki-field-templates.handlebars index 049cd56d..0495af34 100644 --- a/ext/data/templates/default-anki-field-templates.handlebars +++ b/ext/data/templates/default-anki-field-templates.handlebars @@ -172,9 +172,9 @@ {{~#mergeTags definition group merge}}{{this}}{{/mergeTags~}} {{/inline}} -{{#*inline "url"}} +{{~#*inline "url"~}} <a href="{{definition.url}}">{{definition.url}}</a> -{{/inline}} +{{~/inline~}} {{#*inline "screenshot"}} {{~#if (hasMedia "screenshot")~}} |