error in nested parsing

21 views
Skip to first unread message

Petr Fořt

unread,
Apr 4, 2014, 4:43:13 AM4/4/14
to jsmartdi...@googlegroups.com
Hello,
  I have problem with nested element. If there is {row inside another {row (I use {row, but it is not important) is it OK until there is {}, for example device='{}'. If I render this in php version of smarty it is OK, but in jsmart it throw me:
Error: Unclosed {row +[^}]*}

code with error:
{row cols="0"}
   {column size="1/1" idComponent="Web_1396357351428"}
      {row cols="0"}
         {column device='{}' size="1/1"}
         {/column}
      {/row}
   {/column}
{/row}

OK (but no config):
{row cols="0"}
   {column size="1/1" idComponent="Web_1396357351428"}
      {row cols="0"}
         {column size="1/1"}
         {/column}
      {/row}
   {/column}
{/row}

I'am using {} configuration to store JSON. I tried ' {} ' } with whitespace, but the result is the same. Am I missing something or it is a bug/(difference between php version and js)?
Thanks
Petr
Reply all
Reply to author
Forward
0 new messages