Ticket #7 (new defect)

Opened 3 years ago

Last modified 3 years ago

#-prefixed strings cause syntax errors

Reported by: steve Assigned to: somebody
Priority: normal Milestone:
Component: airspeed Version:
Severity: normal Keywords:
Cc:

Description (Last modified by steve)

A #-prefixed string that does not correspond to a known directive should be left intact, to allow the following, which is legal in Velocity:

<h1 style="color: #996633;">Hello!</h1>

In a wider sense, I also assume that the following should be left intact:

#nonexistentdirective($a, $b, ($c || ($d && $e)))

This is a little fiddly to implement.

(Reported by Peter Giles)

Change History

22/09/05 10:39:30 changed by steve

  • description changed.

22/09/05 10:40:05 changed by steve

Chris suggests the workaround of escaping '#' with \