HAML.jl icon indicating copy to clipboard operation
HAML.jl copied to clipboard

Be more conservative about attribute escaping

Open tkluck opened this issue 5 years ago • 0 comments

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 e.g. only escaping "; maybe there's authoritative behaviour documented somewhere?

tkluck avatar Apr 26 '20 16:04 tkluck