Changeset 53503

Timestamp:
May 31, 2009, 3:35:01 PM (13 years ago)
Author:
Daniel James
Message:

Make sure that a template expansion ends with a ']'.

[template foo 1]
[fool]

was generating 1[fool] - the template would be expanded but then when it
didn't match the ] it would fail and just get copied to the output. This
change checks for ] before expanding the template. So it now generates
[fool] which is an improvement.

I'm not including a version switch as I see this as a plain bug fix - I can't
imagine this change ever being anything but beneficial.

(No files)

Note: See TracChangeset for help on using the changeset viewer.