diff --git a/dictation/index.html b/dictation/index.html index 5b654ce..1e6a565 100644 --- a/dictation/index.html +++ b/dictation/index.html @@ -164,7 +164,7 @@ function save_voc() { - setCookie("vocabulary",voc.value,365) + setCookie("vocabulary",voc.value.replace("\n", ":lnbrk:"),365) } function transition_effect() @@ -242,7 +242,7 @@ Παρουσιάζω|I present Αστείος|funny` - var vocabulary = getCookie("vocabulary") + var vocabulary = getCookie("vocabulary").replace(":lnbrk:", "\n") vocabulary.split("\n").forEach(element => { if (element.trim() != "") ex.push(element) });