1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2026-01-31 07:10:23 +00:00

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
This commit is contained in:
Simon Huber
2025-10-29 12:15:54 +01:00
committed by GitHub
parent d733b77e2f
commit deed8631d8

View File

@@ -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;