Skip to content

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

@Kangaroux

Description

@Kangaroux

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions