kainjow / Mustache

Mustache text templates for modern C++
Boost Software License 1.0
357 stars 49 forks source link

Crash instead of error message on unmatching section names #26

Closed KitsuneRal closed 6 years ago

KitsuneRal commented 6 years ago

Mustache 4.0b2 crashes on assertion in line 632, with control == walk_control::stop, using the following template:

{{#section1}}
    {{#section2}}
        {{^section3?}}{{/section4}} {{!Mind unmatching section names}}
{{/section2}}{{/section1}}