summaryrefslogtreecommitdiff
path: root/ext/js/templates/sandbox/anki-template-renderer.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2023-11-27 14:08:39 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2023-11-27 14:08:39 -0500
commitc8ac0d45bfb94deabd933117ba55d365f43fb1c5 (patch)
treedb677ecc0d60f0dcc20ed1679318d8a55baa33b9 /ext/js/templates/sandbox/anki-template-renderer.js
parent6a3dae04de68ab633da15bbc8ec6b350e38e6d2f (diff)
Updates
Diffstat (limited to 'ext/js/templates/sandbox/anki-template-renderer.js')
-rw-r--r--ext/js/templates/sandbox/anki-template-renderer.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/js/templates/sandbox/anki-template-renderer.js b/ext/js/templates/sandbox/anki-template-renderer.js
index ce8e3200..9f4bf6ff 100644
--- a/ext/js/templates/sandbox/anki-template-renderer.js
+++ b/ext/js/templates/sandbox/anki-template-renderer.js
@@ -151,8 +151,8 @@ export class AnkiTemplateRenderer {
}
/**
- *
- * @param text
+ * @param {string} text
+ * @returns {string}
*/
_safeString(text) {
return new Handlebars.SafeString(text);
@@ -221,8 +221,8 @@ export class AnkiTemplateRenderer {
}
/**
- *
- * @param string
+ * @param {string} string
+ * @returns {string}
*/
_stringToMultiLineHtml(string) {
return string.split('\n').join('<br>');