Home

starfederation/datastar

Status:Indexed
Analyzed 3d ago3K+ starsTypeScript

The hypermedia framework.

Back to Pull Requests
#1112Closed
Simple Review

Fix injectionSelector in grammar to prevent leaking outside of HTML Tags

by YuryKLDec 19, 2025
View on GitHub

Summary

This PR fixes an issue where the `injectionSelector` in the grammar was incorrectly allowing behavior to be applied outside of HTML tags. By removing `L:text.html` from the selector, the grammar will now only activate within the intended HTML tag contexts, preventing unintended side effects.

Changes

+2 additions-2 deletions

Impact Areas

GrammarParsingHTML Rendering

Files Changed