help3/xhpeditor/js/snippets.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 41415015085fa144e7b94d85d9682c69d992bc1a Author: Stéphane Guillou <stephane.guil...@libreoffice.org> AuthorDate: Fri Apr 19 06:02:56 2024 +0200 Commit: Olivier Hallot <olivier.hal...@libreoffice.org> CommitDate: Tue Apr 23 19:23:24 2024 +0200 remove another pesky double-space in bookmark snippet looks like the last one according to: grep -E "\w[ ]{2,}\w" snippets.js Change-Id: Ice7ee3c8c82f0d9f7a3eef83dcc49d4689ef2a0f Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/166214 Reviewed-by: Olivier Hallot <olivier.hal...@libreoffice.org> Reviewed-by: Juan José González <juanjose...@libreoffice.org> Tested-by: Olivier Hallot <olivier.hal...@libreoffice.org> diff --git a/help3/xhpeditor/js/snippets.js b/help3/xhpeditor/js/snippets.js index f2d4303e..70b1e483 100644 --- a/help3/xhpeditor/js/snippets.js +++ b/help3/xhpeditor/js/snippets.js @@ -129,7 +129,7 @@ function bookmarkValue() { } function bookmarkBranch() { - var a1 = '<bookmark branch="hid/CHANGE ME(path/to/dialog/widget)" id="' + random('bm') + '" localize="false"/> '; + var a1 = '<bookmark branch="hid/CHANGE ME(path/to/dialog/widget)" id="' + random('bm') + '" localize="false"/> '; editor.replaceRange(a1, editor.doc.getCursor()); }