File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ const {Parser} = require('htmlparser2');
3
3
/**
4
4
* @see https://github.com/fb55/htmlparser2/wiki/Parser-options
5
5
*/
6
- const defaultOptions = { lowerCaseTags : false , lowerCaseAttributeNames : false } ;
6
+ const defaultOptions = { lowerCaseTags : false , lowerCaseAttributeNames : false , decodeEntities : false } ;
7
7
8
8
const defaultDirectives = [ { name : '!doctype' , start : '<' , end : '>' } ] ;
9
9
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ chai.use(require('sinon-chai'));
10
10
11
11
describe ( 'PostHTML-Parser test' , ( ) => {
12
12
describe ( 'Call signatures' , ( ) => {
13
- const customOptions = { lowerCaseTags : false , lowerCaseAttributeNames : false } ;
13
+ const customOptions = { lowerCaseTags : false , lowerCaseAttributeNames : false , decodeEntities : false } ;
14
14
let MockedHtmlParser2 ;
15
15
let parserSpy ;
16
16
You can’t perform that action at this time.
0 commit comments