robertknight/qt-mustache

hangs on missing closing section tag

Yuras opened this issue · 0 comments

Template:

{{#list}}

Context:

{
"list":[{}]
}

It hangs in infinite busy loop.

I fixed it temporary by inserting "break" here: https://github.com/robertknight/qt-mustache/blob/master/src/mustache.cpp#L254, but I'm not sure it is correct solution.