Skip to content

Commit

Permalink
Iframe: set character encoding to utf-8 (#53519)
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix authored Aug 18, 2023
1 parent c320a3b commit beca48a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/block-editor/src/components/iframe/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ function Iframe( {
const html = `<!doctype html>
<html>
<head>
<meta charset="utf-8">
<script>window.frameElement._load()</script>
<style>html{height:auto!important;min-height:100%;}body{margin:0}</style>
${ styles }
Expand Down

1 comment on commit beca48a

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in beca48a.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/5900007153
📝 Reported issues:

Please sign in to comment.