1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-04 06:20:26 +00:00

Set AMP viewport

This commit is contained in:
M66B 2022-02-13 14:29:00 +01:00
parent 49721f461d
commit dfe4407e64

View file

@ -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);