Ticket #21 (closed defect: fixed)

Opened 4 months ago

Last modified 4 months ago

Change parser to allow "%>" in <% {statement} %> blocks

Reported by: marius Assigned to:
Priority: major Component:
Keywords: Cc:

Description

Currently we cannot do following

<% if (something == "blah blah %> blah") dosmt(); %>

as %> in string closes block and incorrect code is generated.

...
if (something == "blah blah            // error
Output.WriteLine(" blah\") dosmt(); %>");
...

This is not applicable to # {statement} \n block.

Change History

07/25/08 18:23:59 changed by louis.dejardin

  • status changed from new to closed.
  • resolution set to fixed.

Both the <%statement%> and #statement\n are now aware of single- and double-quote string values.