htmlparser2 icon indicating copy to clipboard operation
htmlparser2 copied to clipboard

Characters allowed at the beginning of XML tag names are overly broad

Open dhlolo opened this issue 4 years ago • 0 comments

<text wx:else>{{goodsMap[item].quantity <= 20 ? 'smaller than' : 'bigger than'}}<text class="quantity">{{goodsMap[item].quantity}}</text>pieces</text>

For example, parser will regard "<=" as a new tag start in code above.

dhlolo avatar Jan 03 '22 14:01 dhlolo