Permalink
Browse files

Manipulation: Update html5shiv elements

Include main, dialog, picture and template in html5shiv elements.

Fixes #15241
Closes gh-1655
  • Loading branch information...
aFarkas authored and mgol committed Sep 13, 2014
1 parent d4a998f commit a9533893b9e5e9a248139f5794c5d6099382cf14
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/manipulation.js
View
@@ -28,9 +28,9 @@ function createSafeFragment( document ) {
return safeFrag;
}
-var nodeNames = "abbr|article|aside|audio|bdi|canvas|data|" +
- "datalist|details|figcaption|figure|footer|" +
- "header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",
+var nodeNames = "abbr|article|aside|audio|bdi|canvas|data|datalist|" +
+ "details|dialog|figcaption|figure|footer|header|hgroup|main|" +
+ "mark|meter|nav|output|picture|progress|section|summary|template|time|video",
rinlinejQuery = / jQuery\d+="(?:null|\d+)"/g,
rnoshimcache = new RegExp("<(?:" + nodeNames + ")[\\s/>]", "i"),
rleadingWhitespace = /^\s+/,

0 comments on commit a953389

Please sign in to comment.