diff --git a/app/src/main/java/io/legado/app/ui/rss/read/ReadRssActivity.kt b/app/src/main/java/io/legado/app/ui/rss/read/ReadRssActivity.kt index 688519c3c..4417d8fba 100644 --- a/app/src/main/java/io/legado/app/ui/rss/read/ReadRssActivity.kt +++ b/app/src/main/java/io/legado/app/ui/rss/read/ReadRssActivity.kt @@ -60,19 +60,9 @@ class ReadRssActivity : VMBaseActivity(R.layout.activity_rss_r upJavaScriptEnable() val url = NetworkUtils.getAbsoluteURL(it.origin, it.link) if (viewModel.rssSource?.loadWithBaseUrl == true) { - webView.loadDataWithBaseURL( - url, - "$content", - "text/html", - "utf-8", - url - ) + webView.loadDataWithBaseURL(url, content, "text/html", "utf-8", url) } else { - webView.loadData( - "$content", - "text/html", - "utf-8" - ) + webView.loadData(content, "text/html", "utf-8") } } })