We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1ebda1f + be92255 commit 0661b72Copy full SHA for 0661b72
packages/flutter_html_iframe/lib/iframe_mobile.dart
@@ -22,7 +22,7 @@ class IframeWidget extends StatelessWidget {
22
23
final sandboxMode = extensionContext.attributes["sandbox"];
24
controller.setJavaScriptMode(
25
- sandboxMode == null || sandboxMode == "allow-scripts"
+ sandboxMode == null || sandboxMode.contains("allow-scripts")
26
? JavaScriptMode.unrestricted
27
: JavaScriptMode.disabled);
28
0 commit comments