I have fields in my database that get preformatted text (multiple lines, multiple spaces, etc…). Basically I have a csv document exported from another app that gets imported. In widgets like CDetailView this gets rendered like 1 line of un-formatted, single spaced text.
Is there a way (like htmlOptions) to add an html ‘<pre>’ tag kind of rendering?
In raw php (without the widgets) I place an html <pre> tag around the php variable containing the data in that field and it works great. I just want the same behavior in widgets… is it possible?