We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This may be an odd edge case. But check this out...
~H""" <div style="height: {{ @dragging_height }}px;"> </div> """
This results the following compilation error.
== Compilation error in file lib/fe_web/views/editor/item.ex == ** (TokenMissingError) lib/fe_web/views/editor/item.ex:74: missing terminator: " (for string starting at line 74) (eex 1.10.1) lib/eex/compiler.ex:45: EEx.Compiler.generate_buffer/4 expanding macro: Surface.sigil_H/2 lib/fe_web/views/editor/item.ex:73: FeWeb.Editor.Item.render/1 (elixir 1.10.1) expanding macro: Kernel.if/2 lib/fe_web/views/editor/item.ex:72: FeWeb.Editor.Item.render/1
Rewriting it this way fixed the issue.
style_text = "height: #{assigns.dragging_height}px;" ~H""" <div style={{style_text}}> </div> """
The issue appears to be when putting {{ @stuff }} inside a string it confuses the parser.
{{ @stuff }}
The text was updated successfully, but these errors were encountered:
Fixed in 1707966
@brainlid thanks for reporting this.
Sorry, something went wrong.
No branches or pull requests
This may be an odd edge case. But check this out...
This results the following compilation error.
Rewriting it this way fixed the issue.
The issue appears to be when putting
{{ @stuff }}
inside a string it confuses the parser.The text was updated successfully, but these errors were encountered: