The column is a text type. I get <b> <i> but not <ol><li> The bullets
are just left out.

On Dec 13, 9:46 pm, Phlip <[email protected]> wrote:
> Don French wrote:
> > I have some text columns where I would like many of the html commands
> > available. I can insert tags in the field with no problem and it stays
> > there. When I try to use the data like <%= @item.description %> I
> > loose several of the tags. They do not work. Particularly the <ul>
> > <ol> <li> tags. The <b> <i> tags work along with font and color.
>
> > Are they being filtered out automatically?
>
> Not at all - if you put raw text in you should get raw text out. (Probably 
> UTF-8...)
>
> How long is your description field? If it's not a TEXT blob, it might truncate
> at 255.
>
> What do your unit tests say about the description field, and the view it 
> constructs?
>
> > What do I need to do to get a column to display in the format
> > specified.  Ultimately I want to use one of the wysiwyg editors on the
> > site, but If I can not get the output to display, it is of no use
>
> We do it all the time.
>
> But just today I could not get a <li> to display its freaking list-style-type:
> disc for anything. Both Firefox and IE caught the bug. Maybe it's a lunar 
> phase
> thing, and you caught it too!
>
> --
>    Phlip
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to