Skip to content

Commit

Permalink
Manipulation: Update html5shiv elements
Browse files Browse the repository at this point in the history
Include main, dialog, picture and template in html5shiv elements.

Fixes #15241
Closes gh-1655
  • Loading branch information
Alexander Farkas authored and mgol committed Sep 13, 2014
1 parent d4a998f commit a953389
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/manipulation.js
Original file line number Diff line number Diff line change
Expand Up @@ -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+/,
Expand Down

0 comments on commit a953389

Please sign in to comment.