I have a function that builds attrs in .ex file and those attributes are used in html.leex file.
I am not sure how to make this work.
defp build_attrs(), do: ↑
But when I run, this fails with this error - "syntax error before: end. "end" is a reserved word in Elixir and therefore its usage is limited. For instance, it can't be used as a variable or be defined nor invoked as a regular function"
But this works
defp build_attrs(), do: " ↑"
I prefer using html entity, I mean the code. How can I achieve it?