Bladeren bron
Fix greedy parsing of section name
Issue noticed for the transformation of a template for familywall.com,
using MustacheJS 0.3.0. In the anonymous function(match,type,name,content)
in render_section, the name of the section was incorrectly recognized as:
place}} <dd class="field"> <strong>{{#i18n
within a match where the same string is repeated after a / at the end:
{{#place}} <dd class="field"> <strong>{{#i18n}}event.where_event_form{{/i18n}}</strong> <span class="hide" data-field="placeId">{{placeId}}</span> <span>{{name}}</span> </dd> {{/place}} <dd class="field"> <strong>{{#i18n}}
This is an unlikely bug, due to the use of the greedy operator + instead of
its non-greedy counterpart +?.
tags/0.4.1