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 a859cf3 commit 62a9df7Copy full SHA for 62a9df7
lib/src/dom/meta_transformers.dart
@@ -21,6 +21,8 @@ class ViewPortTransformer implements DomTransformer {
21
viewportNeedsToBeAdded = false;
22
metaElement.attributes['content'] =
23
'width=device-width, initial-scale=1.0';
24
+ } else if (metaElement.attributes['charset'] != null) {
25
+ metaElement.attributes['charset'] = 'utf-8';
26
} else {
27
final httpEquiv = metaElement.attributes['http-equiv'];
28
if (httpEquiv != null && httpEquiv.toLowerCase() == 'content-type') {
0 commit comments