-
Notifications
You must be signed in to change notification settings - Fork 2
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
attribute values should be expressions #18
Comments
Thanks to debugger I digged into the source code and found out it will do the stuff:
There should be an example in documentation. However, I would never think it could be this way. It's inconsistent to the rest of LSP. in |
Documented the feature via unit test. 39d3a36 |
You don't have to use
(This is inspired from XSLT.) |
I see. Looks good. BTW - I also tried |
I'm quite surprised to see
<img alt="$user.name" src="$user.profile.avatar" />
in output.I see no point in writing
<img><lsp:attribute name="alt" value="something"/></img>
.lsp:attribute
make sens when expressions are allowed invalue
attribute.I consider it critical.
The text was updated successfully, but these errors were encountered: