Page 1 of 1

Generated pre code

Posted: Wed Sep 12, 2007 9:54 am
by yellowled
Hi,

if I create preformatted text using the <pre> elemtent in the non-WYSIWYG-Editor, the output code a) contains a line break (<br />) after each line and b) is put into <strong></strong>. While both of them can easily be disabled using CSS, I was wondering why this happens at all?

YL

Re: Generated pre code

Posted: Wed Sep 12, 2007 12:40 pm
by garvinhicking
Hi!

The "nl2br" and "Serendipity markup" markup plugins do that to you. Either disable them completely, or on a per-posting basis using the Extended properties for entries plugin.

Regards,
Garvin

Posted: Wed Sep 12, 2007 5:01 pm
by Don Chambers
YL - I just learned something new today... see, you can teach an old dog new tricks.

Anyway, read this post regarding the markup plugins toward the end of the post:

http://board.s9y.org/viewtopic.php?t=10864

Posted: Thu Sep 13, 2007 12:27 am
by yellowled
Don Chambers wrote:see, you can teach an old dog new tricks.
Truly amazing. I guess that means I can remove those <pre> things from BP's style.css :)

YL