[DGD] To token or not to token...

Petter Nyström jimorie at gmail.com
Mon Apr 19 11:32:59 CEST 2010


Thanks for the input, Felix!

On Mon, Apr 19, 2010 at 10:34 AM, Felix A. Croes <felix at dworkin.nl> wrote:
> <jimorie at gmail.com> wrote:
>>
>> <html attribute="<%write("foo");%>">
>
> You're using " to delimit both HTML attribute strings and LPC strings
> without escaping the latter.

Yes, and that is how I want it. It's how it works in PHP and such languages.

> You will need two passes and two different grammars.

Hmm, okay. I'll have to play around to see if I can get my head around it.

Cheers,

Jimorie



More information about the DGD mailing list