From 55c13c3d2463baf3b4da7d87c48db165e7d837d8 Mon Sep 17 00:00:00 2001 From: Vighnesh Date: Thu, 6 Nov 2025 18:14:00 +0530 Subject: [PATCH] Avoid interpretation of content coming from zim by mustache --- static/templates/search_result.html | 2 +- static/templates/search_result.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/static/templates/search_result.html b/static/templates/search_result.html index 8d91be58..dcf7c0be 100644 --- a/static/templates/search_result.html +++ b/static/templates/search_result.html @@ -117,7 +117,7 @@ {{title}} {{#snippet}} - {{>snippet}}... + {{{snippet}}}... {{/snippet}} {{#bookInfo}}
{{{bookInfo}}}
diff --git a/static/templates/search_result.xml b/static/templates/search_result.xml index 5c64957b..c6ffb03a 100644 --- a/static/templates/search_result.xml +++ b/static/templates/search_result.xml @@ -21,7 +21,7 @@ {{title}} {{absolutePath}} {{#snippet}} - {{>snippet}}... + {{{snippet}}}... {{/snippet}} {{#bookTitle}}