Skip to content

Commit

Permalink
Merge pull request #103 from sudwebdesign/master
Browse files Browse the repository at this point in the history
Add audio tag in Exclude list #deleteExclusionTags
  • Loading branch information
JiHong88 authored Jun 17, 2019
2 parents 9ff9bec + 8cf5e6e commit d5e5a1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -818,7 +818,7 @@ const util = {
* @private
*/
_deleteExclusionTags: (function () {
const exclusionTags = 'br|p|div|pre|blockquote|h[1-6]|ol|ul|dl|li|hr|figure|figcaption|img|iframe|video|table|thead|tbody|tr|th|td|a|b|strong|var|i|em|u|ins|s|span|strike|del|sub|sup'.split('|');
const exclusionTags = 'br|p|div|pre|blockquote|h[1-6]|ol|ul|dl|li|hr|figure|figcaption|img|iframe|audio|video|table|thead|tbody|tr|th|td|a|b|strong|var|i|em|u|ins|s|span|strike|del|sub|sup'.split('|');
let regStr = '<\/?(';

for (let i = 0, len = exclusionTags.length; i < len; i++) {
Expand Down

0 comments on commit d5e5a1a

Please sign in to comment.