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

bug or feature?

 
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 -> Bugs
View previous topic :: View next topic  
Author Message
DJ
Smarty Rookie


Joined: 02 Jan 2005
Posts: 11

PostPosted: Thu Jan 13, 2005 9:20 pm    Post subject: bug or feature? Reply with quote

if include a static html file :

{include file="/path/page.html"}

and page.html has some text with {braces}

i get:

Fatal error: Smarty error: [in /home/html/site/core/static/page.html line 21]: syntax error: unrecognized tag: 606th (Smarty_Compiler.class.php, line 417) in /home/engine/Smarty.class.php on line 1088

is there a work around for this? i just want to include the file and no parsing of what is in it.
Back to top
View user's profile Send private message
mohrt
Administrator


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

PostPosted: Thu Jan 13, 2005 10:52 pm    Post subject: Reply with quote

if the included file is not meant to be parsed as a template file, use {fetch} instead.
Back to top
View user's profile Send private message Visit poster's website
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 -> Bugs 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