mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 21:58:52 +02:00
Set AMP viewport
This commit is contained in:
@@ -140,6 +140,8 @@ public class ActivityAMP extends ActivityBase {
|
||||
}
|
||||
|
||||
Document d = JsoupEx.parse(html);
|
||||
HtmlHelper.setViewport(d, false);
|
||||
|
||||
for (Element script : d.select("script")) {
|
||||
String src = script.attr("src");
|
||||
Uri u = Uri.parse(src);
|
||||
|
||||
Reference in New Issue
Block a user