mirror of
https://github.com/mihonapp/mihon.git
synced 2025-06-26 19:17:51 +02:00
Fix HBrowse tag search
This commit is contained in:
@ -152,7 +152,7 @@ class HBrowse : HttpSource(), LewdSource<HBrowseSearchMetadata, Document>, UrlIm
|
||||
// ns, value
|
||||
var minContent: Pair<String, String> = "" to ""
|
||||
for(ns in ALL_TAGS) {
|
||||
val (v, d) = ns.value.nearest(query, minDist)
|
||||
val (v, d) = ns.value.nearest(it.rawTextOnly(), minDist)
|
||||
if(d < minDist) {
|
||||
minDist = d
|
||||
minContent = ns.key to v
|
||||
|
Reference in New Issue
Block a user