BorisMoore/jsrender — Issue #53: bug in if or each statement
Author: jaakkom
Created: 2011-12-21 06:57:01+00:00
State: open

Hi,
I probably found bug in "If" or "each". "If" statement is printing template inside it three times in some cases. There is example below.

Code above will print this table:

a	b	c
ITEM: 1, Why does this text print three times?
ITEM: 2, Why does this text print three times?
ITEM: 3, Why does this text print three times?
d	e	f
g	h	i

"If" statement in template works, but it prints html three times.