You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Neeme Vool <ne...@codewiser.com> on 2005/02/14 14:37:01 UTC
Embperl discards newlines in tag parameters?
Hi!
I use
SetEnv EMBPERL_SYNTAX "Embperl"
SetEnv EMBPERL_RECIPE EmbperlXSLT
and if I type <input type="hidden" name="x" value="[+"a\nb\nc"+]"/>
then result in HTML is still value="a b c". Seems _ep_sa function discards
newlines?
Neeme Vool
neeme@codewiser.com
Codewiser OÜ
Tel. +372 5151195
Fax. +372 7409988
http://www.codewiser.com
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
RE: Embperl discards newlines in tag parameters?
Posted by Gerald Richter <ri...@ecos.de>.
Hi!
>
> I use
> SetEnv EMBPERL_SYNTAX "Embperl"
> SetEnv EMBPERL_RECIPE EmbperlXSLT
>
> and if I type <input type="hidden" name="x" value="[+"a\nb\nc"+]"/>
>
> then result in HTML is still value="a b c". Seems _ep_sa
> function discards newlines?
>
I should not discard newlines. What is your setting for input_escmode?
Depending on that setting \ is treated as escape char.
Gerald
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org