Because of an inexplicable dislike for [%%]<??> or similar tags, I designed our setup with a more HTML-like syntax. Amazingly, in trying to keep programming out of the templates, I never used a while loop in a template, so I've only now discovered this problem.
My tags are <DO and >. This has worked wonderfully. However, today I tried to do: <DO while Level > 1> And had very funky results. After some head scratching, it looks like the parser is non-greedy, and is quite happy with <DO while Level >. (happily said loop decremented Level, or I would have had a harder time realizing what was wrong). There is certainly an argument to be made that I just outsmarted myself, and that I should go back through all my templates and code and choose something better...such as XML-style endings. I'm somewhat hoping that someone will agree this is a bug, as I'm not looking forward to that task :)
