diff --git a/experiments/outline-editor/editor.js b/experiments/outline-editor/editor.js index c49823b..8fb312f 100755 --- a/experiments/outline-editor/editor.js +++ b/experiments/outline-editor/editor.js @@ -338,14 +338,17 @@ var templates = { // nested button... var nested_button header = header + .trim() .replace(/\[([^\]]*)\]/g, function(_, text){ nested_button = true - return `` }) + return `` }) // whole text is a button... if(!nested_button){ header = - `