Date: prev next · Thread: first prev next last
2010 Archives by date, by thread · List index

Hi Stefan, *,

On Sat, Nov 6, 2010 at 9:34 AM, Stefan Weigel
<> wrote:

how can I prevent Silverstripe from messing up my manually edited
HTML code?

By complaining here :-)

For example, when I add some comment
<!-- This is a comment -->
Silverstripe will delete it completely.

Yes, because there is a rule
                // Word comments
                value = value.replace(new RegExp('<(!--)([^>]*)(--)>',
'g'), "");
that strips them.

Or, when I insert some blank lines or line breaks for the sake of
better readability Silverstripe will delete them completely.

That OTOH is not done by silverstripe, but already by the tinyMCE editor

I sure there's a configuration switch, but need to look it up..


E-mail to for instructions on how to unsubscribe
List archives are available at
All messages you send to this list will be publicly archived and cannot be deleted


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.