Kommentare

Improved nl2br plugin

Brendon am um :

Aww shucks. Thanks, guys! As Garvin said, I helped out with the regular expression stuff but Garvin modified the plugin to allow custom tags...not to mention I had help creating the regular expression functions as it was. I'm glad it'll help out the community and future users of Serendipity!

CoSTa am um :

finally! one of the very basic formatting plugin got extended. grat news and an useful extension. thanks for that!

Jon am um :

Spartacus doesn't seem to be finding this update, should it?

I'm curious to find out whether or not this prevents the "br" tags from being inserted inside of lists ("ul", "ol", "dl") as well -- since that's been more of a pain for me than "code" or "pre" tags.

Garvin am um :

Jon: No, it shouldn't. The plugin is bundled with Serendipity, not provided via Spartacus.

Thus you need to fetch the recent snapshot or fetch the plugin from that snapshot or SVN.

And, yes, you can configure the list of tags. Thus you can include ul, ol and dl in the list of non-nl2br-able tables.

HTH, Garvin

Dennis am um :

Thanks to Brendon.Really cool.

eckes am um :

I vote for adding the bundeld plugins (if they use only standard plugin api) to spartacus, so we can have a quick/easy access to fixes like that.

And: thanks for that fix, that was really really important.