diff options
author | Rafael Lima <rafael.palma.lima@gmail.com> | 2023-08-02 01:38:49 +0200 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@libreoffice.org> | 2023-08-02 10:59:28 +0200 |
commit | c13eb798f7eb33dbaa98fdd09ddb5374c5fbf0fc (patch) | |
tree | 9d608d2715554fced4bfe5fdfc6a8bdfa68b1332 /help3xsl | |
parent | 0de5c3029b8e31e68bc3324fdbc54667377ec923 (diff) |
tdf#156573 Correctly resolve HID with "?" character
Change-Id: I1642e5c56d0d67fe4170358a61ec786f313029e1
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/155184
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'help3xsl')
-rw-r--r-- | help3xsl/index2.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/help3xsl/index2.html b/help3xsl/index2.html index c08335e08c..2394c084e1 100644 --- a/help3xsl/index2.html +++ b/help3xsl/index2.html @@ -45,6 +45,8 @@ window.location.replace(lang + '/' + defaultFile + '?System=' + system + '&DbPAR=' + module); } var bookmark = target.slice(target.indexOf('/') + 1, target.length); + // tdf#156573 Replace character "?" by "%3F" + bookmark = bookmark.replace("?", "%3F"); var file = hid2fileMap[bookmark]; // check first if a root bookmark @@nowidget@@ can be used if (file === undefined) { |