Update HtmlFormatter.kt

简化
pull/1123/head
bushixuanqi 3 years ago committed by GitHub
parent c74832fb71
commit e85a7ac5cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      app/src/main/java/io/legado/app/utils/HtmlFormatter.kt

@ -65,10 +65,10 @@ object HtmlFormatter {
"<img src=\"${ "<img src=\"${
NetworkUtils.getAbsoluteURL( NetworkUtils.getAbsoluteURL(
redirectUrl, redirectUrl,
url.substring( 0, pos) url.substring(0, pos)
) )
},${ },${
url.substring( pos + 1 ).trim{ it <'!' } url.substring(pos + 1 )
}\">" }\">"
) )
appendPos = matcher.end() appendPos = matcher.end()

Loading…
Cancel
Save