Skip to content
This repository has been archived by the owner on Jan 30, 2025. It is now read-only.

compiler should filter out duplicated attrs #129

Open
LuLaValva opened this issue Jan 20, 2023 · 0 comments
Open

compiler should filter out duplicated attrs #129

LuLaValva opened this issue Jan 20, 2023 · 0 comments
Assignees

Comments

@LuLaValva
Copy link
Member

LuLaValva commented Jan 20, 2023

// TODO: this should iterate backward and filter out duplicated attrs.

In HTML, first attribute value takes precendent, but Marko follows the rules of object properties (last property takes precedent), so we need to filter out duplicates to ensure the same behavior between the two.

@mlrawlings mlrawlings changed the title this should iterate backward and filter out duplicated attrs. compiler should filter out duplicated attrs Jan 10, 2024
@LuLaValva LuLaValva assigned DylanPiercey and unassigned LuLaValva Sep 30, 2024
@DylanPiercey DylanPiercey moved this from Todo to Done in The Everything Project Oct 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

2 participants