From deed8631d804e5c5f66ecddc68cb3f3ccdaeafc5 Mon Sep 17 00:00:00 2001 From: Simon Huber Date: Wed, 29 Oct 2025 12:15:54 +0100 Subject: [PATCH] exports.search: don't break the loop if encoding is base64, just continue (#9247) This makes it possible to find tiddlers with base64 encoding using `search:*:words[searchterm]` for example fixes #9246 --- core/modules/wiki.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/wiki.js b/core/modules/wiki.js index fe7f115b9..5c04b9f08 100755 --- a/core/modules/wiki.js +++ b/core/modules/wiki.js @@ -1443,7 +1443,7 @@ exports.search = function(text,options) { // Don't search the text field if the content type is binary var fieldName = searchFields[fieldIndex]; if(fieldName === "text" && contentTypeInfo.encoding !== "utf8") { - break; + continue; } var str = tiddler.fields[fieldName], t;