This website requires JavaScript.
Explore
Help
Sign in
kotovalexarian-likes-github
/
haml--haml
Watch
1
Star
0
Fork
You've already forked haml--haml
0
mirror of
https://github.com/haml/haml.git
synced
2022-11-09 12:33:31 -05:00
Code
Releases
Activity
3f885fd8ba
haml--haml
/
test
/
templates
/
_text_area_helper.html.haml
5 lines
98 B
Text
Raw
Normal View
History
Unescape
Escape
Silence a silly warning in tests In Rails < 4.0 this variable is initialized but unused
2013-03-03 21:27:29 -05:00
- defined?(text_area_helper) and nil # silence a warning
Fix textarea content indentation inside partials This commit fixes textarea behavior by stripping all leading space from a textarea added as a result of Haml's indentation. Leading space that is a part of the textarea content is preseved by replacing the first space with a hexadecimal character reference. Resolves #643
2013-03-02 15:24:56 -05:00
.foo
.bar
Silence a silly warning in tests In Rails < 4.0 this variable is initialized but unused
2013-03-03 21:27:29 -05:00
= text_area :post, :body
Copy permalink