Timo Kluck
Timo Kluck
This is the likely root cause of #13 and #32 . We can also "support" this by - not forwarding subsequent requests upstream, and - actively closing the downstream connection...
As reported by @mlhetland in #6. They suggest `attr=nothing` as a possible way of expressing this, but I'm not sure that's very intuitive as other empty values (e.g. `[]`) mean...
Attribute escaping breaks e.g. charset declarations (at least in firefox), leading to [workarounds like this(https://github.com/tkluck/StatProfilerHTML.jl/blob/109ad6f/haml/index.hamljl#L4). This issue is also reported by @mlhetland in #6 . We could fix this by...
We currently do not support the following blocks: - [ ] `elseif` - [ ] `function` - [x] `begin` - [x] `let` These would be interesting additions.
We should copy [ruby-haml's behaviour](http://haml.info/docs/yardoc/file.REFERENCE.html#whitespace-preservation) where possible, and possibly make available some similar helper methods/macros.
This mostly works in [StatProfilerHTML](https://github.com/tkluck/StatProfilerHTML.jl) now, but with workarounds and corner cases. We should collect and fix a few of those.
We should [copy Ruby-haml's behaviour](http://haml.info/docs/yardoc/file.REFERENCE.html#empty-void-tags-).
The keywords are available using interpolation syntax (`$key` for when `key=42` is passed). We should decide a syntax for iterating over the pairs of `key => value`.