Oh, you just clued me in...  I wonder if [EMAIL PROTECTED] might be
able to shed some like on this.  I'm using TBS as my template engine for
this site.  And yes, it does use nl2br in the "meth_Html_Conv" function.
I'll probably need to add the "htmlconv=no" option to all of the
"textarea" fields.  I think I can be pretty sure the user won't need to
enter any HTML into this fields.

Thanks Marek!  You pointed me in the right direction!


On Thu, 2005-05-05 at 20:08 +0200, Marek Kilimajer wrote:
> David Christensen wrote:
> > I am?  That news to me???  I just did a 'grep nl2br form.php' and I
> > don't any output with nl2br.  I'm not sure this is what's going on.
> > 
> > I did see that function in the "Strings" section of the manual, but it
> > didn't do anything for me.
> > 
> 
> Well, php isn't making it up, it has to be somewhere. Or are you using 
> any htmlarea kind of input? We need to see your form.php to help you.
> 
> > On Thu, 2005-05-05 at 16:11 +0200, Marek Kilimajer wrote:
> > 
> >>David Christensen wrote:
> >>
> >>>Actually, I forgot to also mention that the browser is changing the
> >>>control-M (^M) from the query when it sets the default value for the
> >>>textarea to "<br />".  I guess that is the HTML representation of the
> >>>^M.
> >>
> >>you are using nl2br() on the input, that funcion adds '<br />' before 
> >>all newline characters.
> >>
> >>
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to