Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

fix: Add DOMPurify import to enable search highlighting in dropdowns

LearningCircuitc4e1cd935798
diff --git a/src/local_deep_research/web/static/js/app.js b/src/local_deep_research/web/static/js/app.js
index 39e2fc1994..13811e3f79 100644
--- a/src/local_deep_research/web/static/js/app.js
+++ b/src/local_deep_research/web/static/js/app.js
@@ -16,6 +16,7 @@ import io from 'socket.io-client';
import hljs from 'highlight.js';
import jsPDF from 'jspdf';
import html2canvas from 'html2canvas';
+import DOMPurify from 'dompurify';
// Import Bootstrap JavaScript
import * as bootstrap from 'bootstrap';
@@ -36,6 +37,7 @@ window.jsPDF = jsPDF;
window.html2canvas = html2canvas;
window.bootstrap = bootstrap;
window.Chart = Chart;
+window.DOMPurify = DOMPurify;
// Configure marked
marked.setOptions({
@@ -80,5 +82,6 @@ export {
jsPDF,
html2canvas,
bootstrap,
- Chart
+ Chart,
+ DOMPurify
};