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.
Rafael Lima committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/help/commit/c13eb798f7eb33dbaa98fdd09ddb5374c5fbf0fc tdf#156573 Correctly resolve HID with "?" character