Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.
Slight problem with delimeters and whitespaces

 
Post new topic   Reply to topic    Smarty Forum Index -> Smarty 3
View previous topic :: View next topic  
Author Message
kk
Smarty Rookie


Joined: 10 Aug 2010
Posts: 22

PostPosted: Tue Aug 27, 2013 7:59 am    Post subject: Slight problem with delimeters and whitespaces Reply with quote

It might be just me but I experience a problem that smarty doesn't accept line breaks as whitespaces anymore.
Code:

  <script type="text/javascript">

    $(function() {

      initMenu();

    } );

  </script>


Code produces Fatal error: Uncaught --> Smarty Compiler: Syntax error in template...

I use the latest version and clear cache.
Is this a desired behaviour because it was working before last update (around 3 weeks ago).
Back to top
View user's profile Send private message
U.Tews
Administrator


Joined: 22 Nov 2006
Posts: 4673
Location: Hamburg / Germany

PostPosted: Tue Aug 27, 2013 7:43 pm    Post subject: Reply with quote

This problem was introduced with the last update.
The fix is now in the SVN trunk and will later be included in 3.1.15
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    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