diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 3946040c..a7526b3c 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -1,8 +1,8 @@ + android:versionCode="189" + android:versionName="1.8.9" > " + articleContent + "

 

 

 

 

"; try { - web.loadDataWithBaseURL(link, content, "text/html", "utf-8", null); + String baseUrl = null; + + try { + URL url = new URL(link); + baseUrl = url.getProtocol() + "://" + url.getHost(); + } catch (MalformedURLException e) { + // + } + + web.loadDataWithBaseURL(baseUrl, content, "text/html", "utf-8", null); } catch (RuntimeException e) { e.printStackTrace(); }