Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Linebreaks are Whitespace!

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Smarty 3
View previous topic :: View next topic  
Author Message
yankee
Smarty Rookie


Joined: 02 Mar 2009
Posts: 31

PostPosted: Mon Jun 22, 2009 10:38 pm    Post subject: Linebreaks are Whitespace! Reply with quote

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 Smile.
Back to top
View user's profile Send private message
mohrt
Administrator


Joined: 16 Apr 2003
Posts: 7368
Location: Lincoln Nebraska, USA

PostPosted: Tue Jun 23, 2009 1:54 am    Post subject: Reply with quote

I think that was fixed in SVN very recently.
Back to top
View user's profile Send private message Visit poster's website
yankee
Smarty Rookie


Joined: 02 Mar 2009
Posts: 31

PostPosted: Tue Jun 23, 2009 9:23 am    Post subject: Reply with quote

mohrt wrote:
I think that was fixed in SVN very recently.

sorry, you are right. That must have been very very recently though Wink.
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Smarty 3 All times are GMT
Page 1 of 1

 
Jump to:  
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
Protected by Anti-Spam ACP