Loading src/com/fsck/k9/view/MessageWebView.java +7 −1 Original line number Original line Diff line number Diff line Loading @@ -179,8 +179,14 @@ public class MessageWebView extends RigidWebView { } } content += HtmlConverter.cssStylePre(); content += HtmlConverter.cssStylePre(); content += "</head><body>" + text + "</body></html>"; content += "</head><body>" + text + "</body></html>"; // Workaround for asus transformer devices if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.JELLY_BEAN) { loadData(content, "text/html; charset=UTF-8", "utf-8"); } else { loadDataWithBaseURL("http://", content, "text/html", "utf-8", null); loadDataWithBaseURL("http://", content, "text/html", "utf-8", null); } } } /* /* * Emulate the shift key being pressed to trigger the text selection mode * Emulate the shift key being pressed to trigger the text selection mode Loading Loading
src/com/fsck/k9/view/MessageWebView.java +7 −1 Original line number Original line Diff line number Diff line Loading @@ -179,8 +179,14 @@ public class MessageWebView extends RigidWebView { } } content += HtmlConverter.cssStylePre(); content += HtmlConverter.cssStylePre(); content += "</head><body>" + text + "</body></html>"; content += "</head><body>" + text + "</body></html>"; // Workaround for asus transformer devices if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.JELLY_BEAN) { loadData(content, "text/html; charset=UTF-8", "utf-8"); } else { loadDataWithBaseURL("http://", content, "text/html", "utf-8", null); loadDataWithBaseURL("http://", content, "text/html", "utf-8", null); } } } /* /* * Emulate the shift key being pressed to trigger the text selection mode * Emulate the shift key being pressed to trigger the text selection mode Loading