Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to correctly parse attributes with dot(.) in the name #237

Open
Devmond opened this issue Apr 6, 2023 · 1 comment
Open

Fails to correctly parse attributes with dot(.) in the name #237

Devmond opened this issue Apr 6, 2023 · 1 comment

Comments

@Devmond
Copy link

Devmond commented Apr 6, 2023

<b-button v-b-modal.modal-1>Launch demo modal</b-button>

v-b-modal.modal-1 is a vuejs directive. Per vuejs documentation, all vuejs code is valid html...not sure it is true.

The dot is apparently a valid character for an attribute but it fails to correctly handle it, instead it splits it into two attributes v-b-modal and .modal-1. Incidentally the browser's DOMParser doesn't handle it either.

@taoqf
Copy link
Owner

taoqf commented Aug 17, 2023

I am sorry this lib works not correct with vuejs for now, and I have not much time on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants