Skip to content

Commit

Permalink
Merge branch 'audio'
Browse files Browse the repository at this point in the history
  • Loading branch information
Hendri Smit committed Nov 29, 2018
2 parents 14268d6 + eb1c79c commit 9287b87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/base/core/dom.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function isElement(node) {
* @see http://www.w3.org/html/wg/drafts/html/master/syntax.html#void-elements
*/
function isVoid(node) {
return node && /^BR|^IMG|^HR|^IFRAME|^BUTTON|^INPUT|^VIDEO|^EMBED/.test(node.nodeName.toUpperCase());
return node && /^BR|^IMG|^HR|^IFRAME|^BUTTON|^INPUT|^AUDIO|^VIDEO|^EMBED/.test(node.nodeName.toUpperCase());
}

function isPara(node) {
Expand Down

0 comments on commit 9287b87

Please sign in to comment.