Fixes #223. Fixes internal reader issue on 4.2.2

This commit is contained in:
Amine 2018-09-30 09:37:22 +02:00
parent 2be872e61e
commit 29d1e38340

View File

@ -401,7 +401,9 @@ class ArticleFragment : Fragment() {
rootView.webcontent.loadDataWithBaseURL( rootView.webcontent.loadDataWithBaseURL(
baseUrl, baseUrl,
"""<style> """<html>
|<head>
| <style>
| img { | img {
| display: inline-block; | display: inline-block;
| height: auto; | height: auto;
@ -427,8 +429,13 @@ class ArticleFragment : Fragment() {
| white-space: pre-wrap; | white-space: pre-wrap;
| width:100%; | width:100%;
| background-color: $stringBackgroundColor; | background-color: $stringBackgroundColor;
|}</style>$c""".trimMargin(), | }
"text/html; charset=utf-8", | </style>
|</head>
|<body>
| $c
|</body>""".trimMargin(),
"text/html",
"utf-8", "utf-8",
null null
) )