qt-mustache icon indicating copy to clipboard operation
qt-mustache copied to clipboard

Fix handling partials from standalone < tags.

Open estan opened this issue 10 years ago • 0 comments

If the < tag is standalone, each non-empty line of the partial should be indented before it is rendered. The spec actually says all lines, not specifically non-empty ones. But the spec tests seems to expect only non-empty ones to be indented, and I've verified that other implementations (e.g. Pystache) do it this way.

3 more test cases now pass. The remaining failures are all related to dotted names and implicit iterators, which are not supported yet. I have no pressing need for them so I might take a break here :)

estan avatar Aug 19 '14 21:08 estan