We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c92b2a2 commit 31dd647Copy full SHA for 31dd647
lib/index.js
@@ -3,7 +3,7 @@ const isUrl = require('is-url-superb')
3
const matchHelper = require('posthtml-match-helper')
4
5
module.exports = (config = {}) => tree => {
6
- config.strict = config.strict ?? true
+ config.strict = typeof config.strict === 'boolean' ? config.strict : true
7
8
const process = node => {
9
if (!config || !config.parameters) {
0 commit comments