|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
yankee Smarty Rookie
Joined: 02 Mar 2009 Posts: 31
|
Posted: Mon Jun 22, 2009 10:38 pm Post subject: Linebreaks are Whitespace! |
|
|
I recently had a long function call with smarty. Something that I wanted to distrubute to several lines:
Code: |
{somefunction
someArg="someValue"
otherArg="otherValue"
and="so"
on="..."} |
Unfortunatelly the compiler did not like my idea of linebreaks at this point.
I think you should really change the definition from spaces to whitespaces which may include linebreaks, tabs and spaces. That'll make life easier . |
|
Back to top |
|
mohrt Administrator
Joined: 16 Apr 2003 Posts: 7368 Location: Lincoln Nebraska, USA
|
Posted: Tue Jun 23, 2009 1:54 am Post subject: |
|
|
I think that was fixed in SVN very recently. |
|
Back to top |
|
yankee Smarty Rookie
Joined: 02 Mar 2009 Posts: 31
|
Posted: Tue Jun 23, 2009 9:23 am Post subject: |
|
|
mohrt wrote: | I think that was fixed in SVN very recently. |
sorry, you are right. That must have been very very recently though . |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|