Hi Slobodan, I reviewed the htmlcleaner code concerning the cleanup of BRs, and concluded that the htmlcleaner does indeed clean up "stand alone" BR elements, and other empty elements (e.g. empty <p> elements, or a <p> element with only a <br> element inside, etc.). I guess the logic behind that is that it <br> elements should not be used for styling purposes. What is the reason you want to have an empty <br> element at the end? Wouldn't it be better to use explicit CSS styling in the frontend website, e.g. put a CSS class on the parent tag of the html contents with a bigger bottom margin? :)
regards Dennis On Wed, Sep 23, 2009 at 10:04 AM, Slobodan Bogdanovic < [email protected]> wrote: > Hi all, > > is it possible to configure HTMLCleaner to leave one or more <br/> elements > placed out of the content blocks (<p></p>) ? > > Currently I have following situation: > > <p>Lorem ipsum...</p> > <br/> > > on save <br/> is cleaned by HTMLCleaner. > > Thanks in advance, > Slobodan > > ******************************************** > Hippocms-dev: Hippo CMS development public mailinglist > > Searchable archives can be found at: > MarkMail: http://hippocms-dev.markmail.org > Nabble: http://www.nabble.com/Hippo-CMS-f26633.html > > -- Hippo B.V. - Amsterdam Oosteinde 11, 1017 WT, Amsterdam, +31(0)20-5224466 Hippo USA Inc. - San Francisco 101 H Street, Suite Q, Petaluma CA, 94952-3329, +1 (707) 773-4646 ----------------------------------------------------------------- http://www.onehippo.com - [email protected] ----------------------------------------------------------------- ******************************************** Hippocms-dev: Hippo CMS development public mailinglist Searchable archives can be found at: MarkMail: http://hippocms-dev.markmail.org Nabble: http://www.nabble.com/Hippo-CMS-f26633.html
