mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
[Haml] Add an error message to discourage people from using haml_tag with =.
This commit is contained in:
parent
a4f0471c5b
commit
8a5ae5ba6d
1 changed files with 4 additions and 1 deletions
|
@ -382,7 +382,10 @@ END
|
|||
block.call
|
||||
tab_down
|
||||
haml_concat "</#{name}>"
|
||||
nil
|
||||
<<MESSAGE
|
||||
<h1><code>haml_tag</code> outputs directly to the Haml template.
|
||||
Disregard its return value and use the <code>-</code> operator.</h1>
|
||||
MESSAGE
|
||||
end
|
||||
|
||||
# Characters that need to be escaped to HTML entities from user input
|
||||
|
|
Loading…
Reference in a new issue