Open
Description
Using <%=
results in unused variable warnings. 2.0.5 fixed issues with characters being escaped improperly, but currently are only good for passing through template params.
I would like to have absolute urls for my images and I would do that like this: <%= MyApp.Router.Helpers.static_url(MyApp.Endpoint, ~s(/images/img.png)) %>
This works as expected, but I can't do this because it emits a warning that this is an unused variable.
A possible fix for this would be, instead of pulling out everything between <%=
as a variable only extracting @...
. This is how eex templates work in the first place.