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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user