Oh it does work well with my local 1.5.4 installation. When did it change to support the new lang method?
Ok here your are
edit updated zip of first post
nl2br improvement
Re: nl2br improvement
Last edited by Timbalu on Sat Apr 09, 2011 8:55 am, edited 1 time in total.
Regards,
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Re: nl2br improvement
After so many people having such a big discussion
- what shall we do with it?
It is a small improvement, using default nl2br, so I would pleg for upload.
![Wink :wink:](./images/smilies/icon_wink.gif)
It is a small improvement, using default nl2br, so I would pleg for upload.
Regards,
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: nl2br improvement
Hi!
Come on guys, someone must be using nl2br and be annoyed by its current workage. YellowLED?!![Wink ;-)](./images/smilies/icon_wink.gif)
I still wasn't able to test it on my own, I'm sorry...
(I really try to look at it, and even if I don't manage to do it before 1.6 [which I hope will not happen], I'll upload it to Spartacus at the very least.
)
Regards,
Garvin
Come on guys, someone must be using nl2br and be annoyed by its current workage. YellowLED?!
![Wink ;-)](./images/smilies/icon_wink.gif)
I still wasn't able to test it on my own, I'm sorry...
(I really try to look at it, and even if I don't manage to do it before 1.6 [which I hope will not happen], I'll upload it to Spartacus at the very least.
![Smile :-)](./images/smilies/icon_smile.gif)
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Re: nl2br improvement
I'm perfectly fine with it. (really?!
)
Well, because my entries are mostly just one image and text, it's working just fine.
I even changed to using <p> instead of <br> after updating to your version, Timbalu. ![Very Happy :D](./images/smilies/icon_biggrin.gif)
![Shocked :shock:](./images/smilies/icon_eek.gif)
Well, because my entries are mostly just one image and text, it's working just fine.
![Wink ;)](./images/smilies/icon_wink.gif)
![Very Happy :D](./images/smilies/icon_biggrin.gif)
my blog: dirgefornovember.com/s9y
Re: nl2br improvement
Mist, another one hopping to P - I hope not because of the new ISOBR ![Wink ;-)](./images/smilies/icon_wink.gif)
![Wink ;-)](./images/smilies/icon_wink.gif)
Regards,
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Re: nl2br improvement
Nah not really, it made no change to my entries. Just made the code look neater, I suppose.Timbalu wrote:Mist, another one hopping to P - I hope not because of the new ISOBR
![Wink ;)](./images/smilies/icon_wink.gif)
![Smile :)](./images/smilies/icon_smile.gif)
my blog: dirgefornovember.com/s9y
Re: nl2br improvement
Ian, why don't we try to improve nl2p instead?
Re: nl2br improvement
Hi Malte
I did not try to do, since you can already do things like <nl>inside no parsing</nl> with it, when specifying <nl> as a example prevent tag, I assume. I just tried to have some sort of isolation for br too.
I did not try to do, since you can already do things like <nl>inside no parsing</nl> with it, when specifying <nl> as a example prevent tag, I assume. I just tried to have some sort of isolation for br too.
Regards,
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Re: nl2br improvement
Update: added 4th version (2.11) on 2011-07-05
in special cases there was a leftover, which made editors with foldable Textblocks stumble
in special cases there was a leftover, which made editors with foldable Textblocks stumble
Regards,
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Re: nl2br improvement
Thanks for the plugin, it's just what I needed
But why not change <nl> to <pre> 'cos that's basically what you're doing...
But why not change <nl> to <pre> 'cos that's basically what you're doing...
Re: nl2br improvement
Yes, but an hardcoded existing tag would'nt be as free as a non-existing-tag like <nl>. Imagine someones is using pre without code syntax and just wants normal line breaks inside...
Regards,
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Re: nl2br improvement
You'll have to change that if XHTML2 ever becomes a standard, BTW.Timbalu wrote:Yes, but an hardcoded existing tag would'nt be as free as a non-existing-tag like <nl>.
http://www.w3.org/TR/2004/WD-xhtml2-200 ... #sec_11.2.
YL
Re: nl2br improvement
Oh my god....!
Thank you, YL.
Will it ever? To short I know, but I thought HTML5 is avoiding the further need of XHTML? It still would need someone writing entries in xhtml2, which should be extremely rarely, I assume. But I keep that in mind changing to something like <nonl></nonl>.
******btw******
What I have in mind would be some kind of hook via the nl2br plugin, integrating a BBC button for this element into the BBC row of the normal non-wysiwyg-editor 'frame'. If someone has an idea how to code this, please drop me a notice.
![Smile :)](./images/smilies/icon_smile.gif)
Will it ever? To short I know, but I thought HTML5 is avoiding the further need of XHTML? It still would need someone writing entries in xhtml2, which should be extremely rarely, I assume. But I keep that in mind changing to something like <nonl></nonl>.
******btw******
What I have in mind would be some kind of hook via the nl2br plugin, integrating a BBC button for this element into the BBC row of the normal non-wysiwyg-editor 'frame'. If someone has an idea how to code this, please drop me a notice.
Regards,
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian