Skip to content

Commit

Permalink
fix(cli): mustn't lowerCase attributes name or tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Genuifx committed Mar 11, 2020
1 parent 73e9f2b commit c2ca48d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/wxa-cli/src/compilers/xml.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ export function parseXML(code, opath) {
xmlMode: false, // forgiving html parser
recognizeSelfClosing: true,
lowerCaseTags: false, // needn't make tag lower case
lowerCaseAttributeNames: false,
recognizeCDATA: true,
}).end(htmlStr);

let dom = handler.dom;
Expand Down

0 comments on commit c2ca48d

Please sign in to comment.