how can i tell ruby to use the html string
Posted
by
Matt
on Stack Overflow
See other posts from Stack Overflow
or by Matt
Published on 2011-01-13T19:49:37Z
Indexed on
2011/01/13
19:53 UTC
Read the original article
Hit count: 441
i have this
"<img src='#{picture.url(:tiny)}'>"
which prints to this
<img src='/system/pictures/2/tiny/Womacdsf.jpg?1294942797'>, <img src='/system/pictures/3/tiny/Womacdsf_3017.jpg?1294942797'>, <img src='/system/pictures/4/tiny/Womacdsf_8012.jpg?1294942797'>, … (8)
as you can see this is doing the <
and >
; instead of the < and >
how can i tell ruby this is not what i want
© Stack Overflow or respective owner