https://bugs.documentfoundation.org/show_bug.cgi?id=156573

            Bug ID: 156573
           Summary: HID with "?" exists in the Help file but is not
                    resolved correctly when F1 is pressed
           Product: LibreOffice
           Version: 7.5.4.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Documentation
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: rafael.palma.l...@gmail.com
                CC: olivier.hal...@libreoffice.org

When a help page for a HID that contains the "?" character is opened, it is not
resolved correctly in "index.html" (the help's main page).

Steps to reproduce:
1) Open any LO app with the "gen" or "win" backend (if you have the very latest
master, it will also work with "kf5")
2) Go to Tools - Macros - Organize Macros - Python
3) Hover over "Python"
4) Press F1 to open the help page

Result:
The help will try to open the page corresponding to the HID
".uno:ScriptOrganizer?ScriptOrganizer.Language:string=Python"

Note that the page should open, because this HID is properly set in:
/help/source/text/shared/01/06130200.xhp

However, inside the compiled help in the file "hid2file.js", the HID is set
differently: ".uno:ScriptOrganizer%3FScriptOrganizer.Language:string=Python"

Note that "?" is replaced by "%3F" when "hid2file.js" is built.

There is a rule in "/help/help3xsl/generate_hid2file.xsl" that explicitly makes
that change.

So what's missing is to replace "?" by "%3F" when the HID is called in the
index.html main page.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to