On Do, 2004-12-02 at 06:25, Gerald Richter wrote: > > > > [- $fdat{'foo'} = '"><a > > href="http://www.slashdot.org">slashdot</a>'; -] <input > > type="text" name="foo"> > > > > This results in an empty text field followed by the given > > link to slashdot. > > I just tested it and it works for me. > > What you your setting of $escmode?
I have escmode and input_escmode both set to zero, since I often print tags from perl code. And yes, it works if I change the example to [- $escmode = 7; $fdat{'foo'} = ... etc etc -] I wasn't aware that the escmode also applies to the (automatic) value-setting by %fdat. I also doubt that is a good thing, since Embperl "knows" that escaping is needed here. I cannot imagine why anyone would want to have escmode 0 applied to value="..." completions. So do I need to set $escmode to 7 around the tags which have values auto-assigned from %fdat? That's quite an inconvenience. I tried adding it to the syntax, but it didn't work. Perhaps the auto-value-adding could be changed so it overrides the escmode? Greetings, Torsten Lüttgert --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]