From d04bf01748dde399d066c58ace395b9821c8365b Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Tue, 11 Feb 2025 17:26:42 +0300 Subject: [PATCH] cleanup and minor fixes... Signed-off-by: Alex A. Naanou --- experiments/outline-editor/editor.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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 = - `