New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kiwix-serve does not (always) print title properly #223
Comments
I want to work on this issue |
@Bhavnaharitsa OK, you probably need here to secure the HTML proper encoding before printing. |
Where can I find the file for the html page ? |
The content of the taskbar (I suppose it is what @kelson42 call search bar) is generated depending of the actual page displayed. The template is here : https://github.com/kiwix/kiwix-tools/blob/master/static/server/taskbar.html.part However, @kelson42 may speak about the titles displayed in the search suggestions (when you start to type a search term). If this is the case, you will have to look elsewhere :
This is also related to #205. You may want to also fix it while your working of the title displaying. (But please try to separate your submissions with separated PRs or, at least, separated commits) |
Also affected by this. @kelson42's link not much useful and hardly visible on online library. Use inspector to reveal. Character It seems to be a known issue given this line but it didn't fix it. At least with content = replaceRegex(content, replaceRegex(zimTitle, "%26", "&"), "__ZIM_TITLE__"); |
@rgaudin Yes, its an old problem which already have been tried to be fixed... I think this is in fact a bit more complex than what it looks like... but I don't remember why. |
This issue was moved by kelson42 to openzim/sotoki#235. |
With https://download.kiwix.org/zim/stack_exchange/stackoverflow.com_eng_all_2018-08.zim, the title in the search bar print escaped
%26
characters.The text was updated successfully, but these errors were encountered: