Skip to content

Commit

Permalink
fix incorrect HUD noopener implementation (#975)
Browse files Browse the repository at this point in the history
  • Loading branch information
thescientist13 committed Nov 3, 2022
1 parent 8c39cd5 commit afb50cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/plugins/resource/plugin-standard-html.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ const getAppTemplate = (pageTemplateContents, templatesDir, customImports = [],
appTemplateContents = appTemplateContents.replace('<body>', `
<body>
<div style="position: absolute; width: auto; border: dotted 3px red; background-color: white; opacity: 0.75; padding: 1% 1% 0">
<p>Malformed HTML detected, please check your closing tags or an <a href="https://www.google.com/search?q=html+formatter" target="_blank" rel="nopener noreferrer">HTML formatter</a>.</p>
<p>Malformed HTML detected, please check your closing tags or an <a href="https://www.google.com/search?q=html+formatter" target="_blank" rel="noreferrer">HTML formatter</a>.</p>
<details>
<pre>
${invalidContents.replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;').replace(/"/g, '&quot;')}
Expand Down

0 comments on commit afb50cd

Please sign in to comment.