Skip to content

Commit 1879747

Browse files
committed
Add duplicate attribute issue to status
1 parent a098815 commit 1879747

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

STATUS.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,9 @@ Normalization runs twice: once in `compile()` for text detection, once in `rende
9393
**5. Error Handling Philosophy Unclear**
9494
`render()` returns `false` on errors, but `bind()` uses `_doing_it_wrong()` warnings and still returns a template. Mixed signals—should errors be fatal or recoverable? The test gaps document lists many untested failure cases.
9595

96+
**6. Duplicate Attributes Bug with false/null Removal**
97+
When using `false` or `null` to remove an attribute, only the first occurrence is removed. If the HTML contains duplicate attributes (e.g., `<input disabled="</%d>" disabled>`), the first `disabled` will be removed but the second will remain in the output. Duplicate attributes should likely be stripped during the normalization pass to prevent this inconsistency.
98+
9699
---
97100

98101
### Gaps in Test Coverage (From Test-Gaps.md + My Observations)

0 commit comments

Comments
 (0)