Layouts, snippets, pages lose formatting

4 views
Skip to first unread message

Indiver Nagpal

unread,
Oct 27, 2010, 12:20:45 AM10/27/10
to spla...@googlegroups.com
Hi guys

Any idea how to overcome the issue of the code formatting being lost when one re-edits a layout/snippet/page?

The first time when one saves a formatted piece of text (with indents, etc.), it goes into the database correctly.

But when one goes back to edit it, the formatting is lost during the display, and when you save it, obviously the new version stored in DB does not have the formatting.

Indy

Indiver Nagpal

unread,
Oct 27, 2010, 12:49:31 AM10/27/10
to spla...@googlegroups.com
Ok. So this one was really bugging me...

After a bit of digging around I found that it was caused by the fact that I'm using Railo and and had Whitespace management turned on.

Now, I'm not sure if that is the correct behaviour in Railo, but for now, I've switched off Whitespace management an formatting gets preserved.

raulriera

unread,
Oct 28, 2010, 2:28:41 PM10/28/10
to Splash CMS
That is odd, which version of Railo? I am not having any issues...

Indiver Nagpal

unread,
Oct 28, 2010, 2:55:11 PM10/28/10
to spla...@googlegroups.com
I'm using: Railo 3.1.2.020 final

I had upgraded to the latest, but found that CONCAT mysql function was giving issues on that, so had to roll it back. I'm using CONCAT to get hold of the full name of a user.

I saw another Railo build come through yesterday. Maybe I'll try that.

Which version are you on?

raulriera

unread,
Oct 28, 2010, 2:56:45 PM10/28/10
to Splash CMS
I am on Railo 3.2.0.000
Reply all
Reply to author
Forward
0 new messages