File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed
Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -16,22 +16,20 @@ if(process.argv[2] === "--help" || process.argv[2] === "-h"){
1616} else {
1717 var options = {
1818 ignoreNameSpace : true ,
19- ignoreNonTextNodeAttr : false ,
20- ignoreTextNodeAttr : false ,
21- textNodeConversion : true ,
22- textAttrConversion : true
19+ ignoreAttributes : false ,
20+ parseNodeValue : true ,
21+ parseAttributeValue : true
2322 } ;
2423 var fileName = "" ;
2524 var outputFileName ;
2625 for ( var i = 2 ; i < process . argv . length ; i ++ ) {
2726 if ( process . argv [ i ] === "-ns" ) {
2827 options . ignoreNameSpace = false ;
2928 } else if ( process . argv [ i ] === "-a" ) {
30- options . ignoreNonTextNodeAttr = true ;
31- options . ignoreTextNodeAttr = true ;
29+ options . ignoreAttributes = true ;
3230 } else if ( process . argv [ i ] === "-c" ) {
33- options . textNodeConversion = false ;
34- options . textAttrConversion = false ;
31+ options . parseNodeValue = false ;
32+ options . parseAttributeValue = false ;
3533 } else if ( process . argv [ i ] === "-o" ) {
3634 outputFileName = process . argv [ ++ i ] ;
3735 } else { //filename
You can’t perform that action at this time.
0 commit comments