pull/79/head
kunfei 5 years ago
parent 94bfc9a4d3
commit 23a35bb42a
  1. 2
      app/src/main/java/io/legado/app/ui/rss/read/ReadRssActivity.kt

@ -149,7 +149,7 @@ class ReadRssActivity : VMBaseActivity<ReadRssViewModel>(R.layout.activity_rss_r
webView.settings.javaScriptEnabled = true webView.settings.javaScriptEnabled = true
webView.evaluateJavascript("document.documentElement.outerHTML") { webView.evaluateJavascript("document.documentElement.outerHTML") {
val html = StringEscapeUtils.unescapeJson(it) val html = StringEscapeUtils.unescapeJson(it)
viewModel.readAloud(Jsoup.clean(html, Whitelist())) viewModel.readAloud(Jsoup.clean(html, Whitelist.none()))
} }
} }
} }

Loading…
Cancel
Save