Skip to content

Commit 727e091

Browse files
committed
fix: SearXNG not working #73
1 parent 25a59be commit 727e091

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/content/searchingEngines/searchingEngines.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ export class SearX extends SearchingEngine {
149149
const searchUrlDom = document.getElementById('search_url');
150150
if (searchUrlDom) {
151151
const searchUrl = new URL(
152-
searchUrlDom.getElementsByTagName('pre')[0].innerText,
152+
searchUrlDom.getElementsByTagName('pre')[0].innerHTML,
153153
);
154154
return searchUrl.searchParams.get('q');
155155
}

0 commit comments

Comments
 (0)