Closed samoyee closed 1 year ago
parse code
<div @click.stop>xxx</div>
it will become two attrs @click, .stop
@click
.stop
I try to resolve the problem, change the code in line:693 ./src/nodes/html.ts
line:693 ./src/nodes/html.ts
const re = /([a-zA-Z()[\]#@$.?:][a-zA-Z0-9-_:()[\]#]*)(?:\s*=\s*((?:'[^']*')|(?:"[^"]*")|\S+))?/g;
const re = /([a-zA-Z()[\]#@$.?:][a-zA-Z0-9-_\.:()[\]#]*)(?:\s*=\s*((?:'[^']*')|(?:"[^"]*")|\S+))?/g;
add \.
\.
Vue and HTML are entirely separate things, so this seems to be correct behavior.
parse code
it will become two attrs
@click
,.stop
I try to resolve the problem, change the code in
line:693 ./src/nodes/html.ts
add
\.