Skip to content

Commit

Permalink
chore: normalize separator in content on the viewport meta tag (#…
Browse files Browse the repository at this point in the history
…26268)

The functionality is the same as before, but it this change works around
a bug in https://github.com/terser/html-minifier-terser which causes the
space to be removed, and the tag to become invalid (this only affects
the webpack build).

Upstream issues:

webdiscus/html-bundler-webpack-plugin#106
terser/html-minifier-terser#178
  • Loading branch information
davidmurdoch authored and dawnseeker8 committed Aug 12, 2024
1 parent 04aabdd commit bf5c27a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html dir="ltr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1 user-scalable=no">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<% if (it.isMMI && !it.isTest) { %>
<title>MetaMask Institutional</title>
<% } else { %>
Expand Down
2 changes: 1 addition & 1 deletion app/popup.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html style="width:357px; height:600px;" dir="ltr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1 user-scalable=no">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<title>MetaMask</title>
<link rel="stylesheet" href="../ui/css/index.scss" />
</head>
Expand Down
2 changes: 1 addition & 1 deletion development/ts-migration-dashboard/app/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1 user-scalable=no">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<title>Extension TypeScript Migration Status</title>
<link rel="stylesheet" href="index.css">
</head>
Expand Down

0 comments on commit bf5c27a

Please sign in to comment.