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:
parent
49721f461d
commit
dfe4407e64
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue