diff --git a/editor/src/editor.js b/editor/src/editor.js
index c79081b..cb6eb9e 100644
--- a/editor/src/editor.js
+++ b/editor/src/editor.js
@@ -357,10 +357,13 @@ function Editor(holder, input) {
} else if (converted.startsWith("=", 0)) {
converted = transformMathExpression(converted, scope);
} else {
- let re = /^([A-Z0-9 ]+)::\s*(.+)$/i;
+ let re = /^([A-Z0-9 ]+)::\s*(.*)$/i;
let res = text.match(re)
if (res) {
- converted = '[[' + res[1] + ']]: ' + res[2]
+ converted = '[[' + res[1] + ']]'
+ if (res[2]) {
+ converted += ': ' + res[2]
+ }
} else if (text.match(/#\[\[TODO]]/)) {
converted = converted.replace('#[[TODO]]', '')
todo = true;