mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2026-01-22 20:41:38 -08: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:
parent
d733b77e2f
commit
deed8631d8
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue