From 666ffebe90c04dc7fe064a98232538826af70738 Mon Sep 17 00:00:00 2001
From: Pavol Komlos <62595149+plundration@users.noreply.github.com>
Date: Wed, 12 Oct 2022 15:21:28 +0000
Subject: [PATCH] Decode the heading id from split link (#214)
---
assets/js/full-text-search.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/assets/js/full-text-search.js b/assets/js/full-text-search.js
index 5f56101..a8f7f23 100644
--- a/assets/js/full-text-search.js
+++ b/assets/js/full-text-search.js
@@ -1,5 +1,5 @@
; (async function() {
- const encoder = (str) => str.toLowerCase().split(/([^a-z]|[^\x00-\x7F])+/)
+ const encoder = (str) => str.toLowerCase().split(/([^a-z]|[^\x00-\x7F])/)
const contentIndex = new FlexSearch.Document({
cache: true,
charset: "latin:extra",
--
Gitblit v1.10.0