We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79ec194 commit be92255Copy full SHA for be92255
packages/flutter_html_iframe/lib/iframe_mobile.dart
@@ -20,7 +20,7 @@ class IframeWidget extends StatelessWidget {
20
21
final sandboxMode = extensionContext.attributes["sandbox"];
22
controller.setJavaScriptMode(
23
- sandboxMode == null || sandboxMode == "allow-scripts"
+ sandboxMode == null || sandboxMode.contains("allow-scripts")
24
? JavaScriptMode.unrestricted
25
: JavaScriptMode.disabled);
26
0 commit comments