On Aug 16, 2011, at 8:24 PM, Banjoey wrote:

> OK, sometimes I'm just dense, so bare with me. I'm hung up on
> something that really shouldn't be an issue (meaning I should forget
> about it and move on) but I'm consumed by this now and "have" to
> figure out what's happening...
> 
> I'm using 1.3 RC2 and when I create the recipe model with the body of
> type :text, I enter text for a new recipe. When I put in carriage
> returns, on the resulting page, I have something like this:
> 
> Recipe <br /> With <br /> Carriage <br /> Returns
> 
> Where the <br /> is displayed literally, not as a valid html line
> break.
> 
> Can anyone tell me if this is correct behavior, and if not, how can I
> fix it? It isn't critical as I'm just learning this stuff anyway, but
> I'd like to know what's happening with this as it was not expected
> behavior.


The br's are correct behavior, but the fact that they are HTML-escaped is not. 
For reference, what version of Rails are you running? They just released (as in 
an hour ago) 3.0.10, so double-check that the problem still exists there.

--Matt Jones

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en.

Reply via email to