From b6eb3e31c635d43e469a721cd5e1641a28dd4162 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Fri, 20 Jan 2023 19:17:14 +0100 Subject: vertical mobile reading syllable nowrap --- anki-card-template/card.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'anki-card-template/card.js') diff --git a/anki-card-template/card.js b/anki-card-template/card.js index eebe6d1..beffd78 100644 --- a/anki-card-template/card.js +++ b/anki-card-template/card.js @@ -53,8 +53,9 @@ HTMLElement.prototype.parse = function() { if (this.classList.contains("parse-brackets")) { if (i == 0) { out += ``; } - if (input[i] == '\u3010') { out += `${input[i]}`; continue; } - if (input[i] == '\u3011') { out += `${input[i]}`; continue; } + if (input[i] == '\u3010') { out += `${input[i]}`; continue; } + if (input[i] == '\u30fb') { out += `${input[i]}`; continue; } + if (input[i] == '\u3011') { out += `${input[i]}`; continue; } } if (this.classList.contains("parse-tags")) { -- cgit v1.2.3