[Libreoffice-commits] dev-tools.git: help3/xhpeditor
Olivier Hallot (via logerrit)
logerrit at kemper.freedesktop.org
Sat Dec 7 22:19:55 UTC 2019
help3/xhpeditor/snippets.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 76d976a5b1c15970ca7ec8cc8d2fa485e1f93336
Author: Olivier Hallot <olivier.hallot at libreoffice.org>
AuthorDate: Sat Dec 7 19:15:56 2019 -0300
Commit: Olivier Hallot <olivier.hallot at libreoffice.org>
CommitDate: Sat Dec 7 23:19:38 2019 +0100
Fix snippets.js
Change-Id: I62a4a813e91a7f1cdeb1f4c13f177feff0daaa57
Reviewed-on: https://gerrit.libreoffice.org/84701
Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot at libreoffice.org>
diff --git a/help3/xhpeditor/snippets.js b/help3/xhpeditor/snippets.js
index e19de9a..ac61034 100644
--- a/help3/xhpeditor/snippets.js
+++ b/help3/xhpeditor/snippets.js
@@ -20,7 +20,7 @@ function startNewXHPDoc() {
}
function docHeading() {
var a1 = '<section id="CHANGE ME">\n <bookmark id="' + random('bm') + '" xml-lang="en-US" branch="hid/CHANGE ME" localize="false"/>\n';
- var a2 = ' <h1 id="' + random('hd') + '><link href="HELP FILE URL" name="CHANGE ME">CHANGE ME</link></h1>\n';
+ var a2 = ' <h1 id="' + random('hd') + '"><link href="HELP FILE URL" name="CHANGE ME">CHANGE ME</link></h1>\n';
var a3 = ' <paragraph id="' + random('par') + '" role="paragraph"><variable id="CHANGE ME"><ahelp hid="CHANGE ME">CHANGE ME</ahelp></variable></paragraph>\n\n</section>\n';
editor.replaceRange(a1 + a2 + a3 , editor.doc.getCursor());
}
@@ -62,7 +62,7 @@ function bascode_par() {
editor.replaceSelection(a1 + editor.doc.getSelection() + a2,'');
}
function pycode_par() {
- var a1 = '<paragraph role="pycode" id="' + random('bas') + '">';
+ var a1 = '<paragraph role="pycode" id="' + random('pyc') + '">';
var a2 = '</paragraph>\n';
editor.replaceSelection(a1 + editor.doc.getSelection() + a2,'');
}
More information about the Libreoffice-commits
mailing list