in reply to catching newlines from textarea input
as always looking to the same lines of code i didn't catch my own fault ..
pff just changed the </p><p> in the second line in wanted <br>:
"grand merci" to everybody for their interesting input maksl
pff just changed the </p><p> in the second line in wanted <br>:
cms does now linebreaks as assumed and wanted :))$txt =~ s{(?<=[\w&;\\\-:\/])$nl\s*$nl(?=\s*[\w&;\\\-:\/])}{</p><p>}g if ( defined $nl ); $txt =~ s{(?<=[\w&;\\\-:\/])$nl(?=\s*[\w&;\\\-:\/])}{</p><p>}g if ( defined $nl );
"grand merci" to everybody for their interesting input maksl
In Section
Seekers of Perl Wisdom