Skip to content

Commit

Permalink
[unescaped markup] Fix small issues @zeitgeist87 pointed out
Browse files Browse the repository at this point in the history
  • Loading branch information
LeaVerou committed Feb 15, 2016
1 parent ad30c32 commit e29cbe1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugins/unescaped-markup/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<meta charset="utf-8" />
<link rel="shortcut icon" href="favicon.png" />
<title>Keep markup ▲ Prism plugins</title>
<title>Unescaped markup ▲ Prism plugins</title>
<base href="../.." />
<link rel="stylesheet" href="style.css" />
<link rel="stylesheet" href="themes/prism.css" data-noprefix />
Expand Down
2 changes: 1 addition & 1 deletion plugins/unescaped-markup/prism-unescaped-markup.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
var code = document.createElement("code");
var pre = document.createElement("pre");

pre.className = code.className = env.element.className;
pre.className = code.className = env.element.className;

env.code = env.code.replace(/&lt;\/script(>|&gt;)/gi, "</scri" + "pt>");
code.textContent = env.code;
Expand Down

0 comments on commit e29cbe1

Please sign in to comment.