Skip to content

Commit 5ac6aa6

Browse files
committed
fix(cli): set the encoding of the simulator to utf8
1 parent 9f1633c commit 5ac6aa6

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.changeset/shiny-swans-drop.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@rocket/cli': patch
3+
---
4+
5+
Set the encoding of the simulator to utf8 via a html meta tag

packages/cli/preset/_includes/layout-simulator.njk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<html theme="light" platform="web" lang="en">
22
<head>
3-
<meta name="viewport" content="width=device-width, initial-scale=1" />
3+
<meta name="viewport" content="width=device-width, initial-scale=1">
4+
<meta charset="utf-8">
45
<style type="text/css">
56
body {
67
margin: 0;

0 commit comments

Comments
 (0)