Skip to content

Commit

Permalink
removed ignoreAttr option
Browse files Browse the repository at this point in the history
  • Loading branch information
avigoldman committed Oct 22, 2017
1 parent 2745a32 commit 31c5c65
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/heml-parse/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ const wrappingHtmlTags = difference(htmlTags, selfClosingHtmlTags)

function parse (contents, options = {}) {
const {
ignoreAttr = 'heml-ignore',
elements = [],
cheerio: cheerioOptions = {}
} = options
Expand All @@ -21,7 +20,7 @@ function parse (contents, options = {}) {

$.findNodes = function (q) {
return $(Array.isArray(q) ? q.join(',') : q)
.not(`[${ignoreAttr}]`)
.not('[heml-ignore]')
.toNodes()
}

Expand Down

0 comments on commit 31c5c65

Please sign in to comment.