aboutsummaryrefslogtreecommitdiff
path: root/ext/data/templates
diff options
context:
space:
mode:
Diffstat (limited to 'ext/data/templates')
-rw-r--r--ext/data/templates/anki-field-templates-upgrade-v27.handlebars2
-rw-r--r--ext/data/templates/anki-field-templates-upgrade-v28.handlebars9
-rw-r--r--ext/data/templates/default-anki-field-templates.handlebars4
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")~}}