From 5ec2344df95da39cda4ad07cfe5181b05fa24830 Mon Sep 17 00:00:00 2001 From: StefanVukovic99 Date: Sun, 3 Mar 2024 05:48:57 +0100 Subject: fix whitespace (#755) --- ext/data/templates/anki-field-templates-upgrade-v27.handlebars | 2 +- ext/data/templates/anki-field-templates-upgrade-v28.handlebars | 9 +++++++++ ext/data/templates/default-anki-field-templates.handlebars | 4 ++-- 3 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 ext/data/templates/anki-field-templates-upgrade-v28.handlebars (limited to 'ext/data') 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"}} + {{definition.url}} +{{/inline}} +{{=======}} +{{~#*inline "url"~}} + {{definition.url}} +{{~/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"~}} {{definition.url}} -{{/inline}} +{{~/inline~}} {{#*inline "screenshot"}} {{~#if (hasMedia "screenshot")~}} -- cgit v1.2.3