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

Duplicated atrributes in template have different precedence from the current miniprogram template compiler #217

Open
SgLy opened this issue Nov 28, 2024 · 0 comments
Assignees
Labels
module:template-compiler need discussion Further discussion is needed to decide

Comments

@SgLy
Copy link
Contributor

SgLy commented Nov 28, 2024

When there are duplicated attributes in template, like:

<view attr="a" attr="b" attr="c" />

The current miniprogram template compiler prefers the last one (attr="c"), while glass-easel-template-compiler (and HTML) prefers the first one (attr="a").

@SgLy SgLy added module:template-compiler need discussion Further discussion is needed to decide labels Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module:template-compiler need discussion Further discussion is needed to decide
Projects
None yet
Development

No branches or pull requests

2 participants