summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2022-12-19 09:47:40 +0200
committerIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2022-12-19 07:49:08 +0000
commitb1b1ad1e4b562ee56eeeb87619732beff46da8b9 (patch)
treeb18206ea47635e24d9ba5d0ab6ff001f933726d2
parentff73b7b3c312b9da1e7fa929b32200859061edac (diff)
Remove name attribute from <link> snippetsHEADmaster
Change-Id: If4ba3fd9e7e3503b3d562c9be00c6754b618d7bb Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/144448 Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
-rw-r--r--help3/xhpeditor/snippets.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/help3/xhpeditor/snippets.js b/help3/xhpeditor/snippets.js
index e519a50d..207e493c 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') + '" 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">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());
}
@@ -219,7 +219,7 @@ function tEmbedvar(){
editor.replaceRange(a1, editor.doc.getCursor());
}
function tLink(){
- var a1 ='<link href="text/CHANGE ME(path/to/xhp/file#select id)" name="CHANGE ME">';
+ var a1 ='<link href="text/CHANGE ME(path/to/xhp/file#select id)">';
var a2 = '</link>';
editor.replaceSelection(a1 + editor.doc.getSelection() + a2,'');
}