Open
Description
@inikulin An interesting though:
Input:
<input value={foo}/>
<input value="{foo}/">
<div title={x}></div>
<div title="{x}"></div>
Output:
<input value="{foo}/">
<input value="{foo}/">
<div title="{x}"></div>
<div title="{x}"></div>
Although the transformation is correct from a spec perspective, it generates a little bit of ambiguity from a developer semantics perspective.
How do you feel about adding some metadata to the AttributeNode (which we collect already as we generate tokens) such as for this example valueState: single-quotes|double-quotes|unquoted
I think via location
you could potentially figure out, but is not really straight forward tough.
Metadata
Metadata
Assignees
Labels
No labels