Skip to content
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

Explicitly writing out tags and using a #{} structure causes the entire block to not render properly #29

Open
Kangaroux opened this issue Sep 26, 2016 · 0 comments

Comments

@Kangaroux
Copy link

a href="#{page_path(@conn, :index)}"
Generates the link as expected.

<a href="#{page_path(@conn, :index)}">
Causes the tag to be rendered out in plain text onto the page. In addition, ANY other tags or HTML style comments in the same block (indentation level) will not render correctly either.


Example:

p This is a test <a href="#{'test'}">Here's a link</a> <!-- and a comment --> <img src="and_a_picture.jpg" />
  p <a href="#">this link works</a>
  a href="#{'blah'}" and so does this one

p This is a test <a href="without">an elixir tag</a> <!-- embedded in the html -->

screen shot 2016-09-26 at 12 45 22 pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant