calliope icon indicating copy to clipboard operation
calliope copied to clipboard

An elixir haml parser

Results 22 calliope issues
Sort by recently updated
recently updated
newest added

hey there I did a quick search of the code and couldn't see anything about Markdown ? any thoughts on how I might add a Markdown filter? I dont see...

Calliope does not seem to support advanced attribute syntax like this: `.field{class: Game.finished?(game) && "finished"}` Calliope will not evaluate any code inside attribute tags, and attempt to add above-mentioned code...

Steps to repro (on version 0.3.0, first and fourth lines are the bug): ``` iex(1)> Calliope.render(".foo{attr-id: \"bar\"}") "" iex(2)> Calliope.render(".foo{attr-id-bar: \"bar\"}") "" iex(3)> Calliope.render(".foo{id-bar: \"bar\"}") "" iex(4)> Calliope.render(".foo(attr-id= \"bar\")") ""...

Hi, I've wondered why string interpolation is necessary for setting attributes like this: ``` %tr{class: "#{my_function(my_data)}"} ``` I could not find an issue where this is discussed in detail. I'd...

Please feel free to push me in the direction of something more idiomatic if this isn't working, I'm pretty new to Elixir. I have a need for auto escaping of...

Should have some fairly complex test project.

enhancement

We found a problem when parsing the following tag with angular expression in the attribute: ``` %li(ng-repeat="pager in paging.pagers" ng-class=" paging.pagination.current_page === pager ? 'active' : '' ") ``` Somehow,...

Sometimes, when I put an angular string interpolation ( using {{ }} ) in the attribute, for example: ``` %textarea.form-control(id="{{ journal_entry.id }}" rows=5) ``` It might generate an invalid HTML...