libkiwix/static/templates
Veloman Yunkan bceba4da06 HTML-template data is HTML-encoded
Non-HTML-encoded HTML-template data causes problems in HTML
even when it appears inside JS string (resulting in the <script> tag being
closed by a </script> appearing inside a JS string).

Besides, the KIWIX_RESPONSE_DATA and KIWIX_RESPONSE_TEMPLATE variables
are set on the window object so that they can be accessed from the top
context.

This commit eliminates the need for the `escapeQuote` parameter in
`escapeForJSON()` (that was introduced earlier in this PR) since now it
is set to false in all call contexts. However from the consistency point
of view, the default and intuitive behaviour of `escapeForJSON()` should
be to escape the quote symbols, which justifies the existence of that
parameter.
2024-01-10 00:28:37 +04:00
..
captured_external.html Typo fix in error message 2021-02-09 09:38:18 +01:00
catalog_entries.xml Added <dc:issued> field to OPDS entries 2022-02-19 11:35:44 +04:00
catalog_v2_categories.xml Moved OPDS templates under static/templates 2021-06-08 20:37:00 +04:00
catalog_v2_entries.xml A slight simplification of the mustache template 2023-04-18 14:45:51 +04:00
catalog_v2_entry.xml Separate templates for full & partial OPDS entries 2022-10-06 13:44:39 +04:00
catalog_v2_languages.xml added use of lang and category api for select boxes on welcome page 2021-08-07 02:39:50 +05:30
catalog_v2_partial_entry.xml Separate templates for full & partial OPDS entries 2022-10-06 13:44:39 +04:00
catalog_v2_root.xml Added partial entries feed to the OPDS root feed 2021-09-09 12:19:22 +04:00
error.html HTML-template data is HTML-encoded 2024-01-10 00:28:37 +04:00
error.xml Make the HTTPErrorHtmlResponse not Html only. 2022-06-03 15:46:41 +02:00
index.html Enter kiwix.css 2023-10-28 21:20:33 +04:00
no_js_download.html Translations for /nojs endpoint 2023-03-29 19:03:29 +05:30
no_js_library_page.html Enter kiwix.css 2023-10-28 21:20:33 +04:00
search_result.html Introduce a results intermediate object in the template rendering. 2022-05-23 19:16:14 +02:00
search_result.xml Fixed search results for kiwix-desktop 2022-09-26 13:11:25 +04:00
suggestion.json adding kind and path attributes to suggest response object and using it in autocomplete 2021-04-07 21:04:33 +05:30
url_of_search_results_css Applied cache-id to search_results.css 2022-05-02 20:37:22 +04:00
viewer_settings.js Added default user language to viewer_settings.js 2023-09-09 19:37:49 +04:00