problem with Multibyte string in haml_tag

1 view
Skip to first unread message

David Krmpotic

unread,
Jul 3, 2008, 2:41:23 PM7/3/08
to Haml
I have
haml_tag 'strong', str
where str is Multibyte.

and it doesn't output anything. When I change it to
haml_tag 'strong', str.to_s
then it does.

Nathan Weizenbaum

unread,
Jul 3, 2008, 6:54:24 PM7/3/08
to ha...@googlegroups.com
haml_tag was checking to see if the argument is a string. I just pushed
a change to make it just test to be sure it's not a symbol.
Reply all
Reply to author
Forward
0 new messages