Fix HBrowse tag search

This commit is contained in:
NerdNumber9 2019-08-12 19:27:11 -04:00
parent 2a27eacf5e
commit b3ecc91be9

View File

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