pull/1127/head
bushixuanqi 3 years ago
parent e3da3d0046
commit 4587231037
  1. 2
      app/src/main/java/io/legado/app/utils/HtmlFormatter.kt

@ -67,7 +67,7 @@ object HtmlFormatter {
val urlMatcher = AnalyzeUrl.paramPattern.matcher(url) val urlMatcher = AnalyzeUrl.paramPattern.matcher(url)
val find = urlMatcher.find() val find = urlMatcher.find()
sb.append("<img src=\"${ sb.append("<img src=\"${
if(find) NetworkUtils.getAbsoluteURL(redirectUrl,url.substring(0,urlMatcher.start())) + url.substring(urlMatcher.end()) if(find) NetworkUtils.getAbsoluteURL(redirectUrl,url.substring(0,urlMatcher.start()))+','+ url.substring(urlMatcher.end())
else url else url
}\">") }\">")

Loading…
Cancel
Save