|
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 |
tylerwilson Smarty n00b
Joined: 04 Aug 2016 Posts: 1
|
Posted: Thu Aug 04, 2016 10:07 pm Post subject: Should this comment block syntax work or fail? |
|
|
Good day,
I ran across some Smarty templates that were running (successfully) against 3.1-DEV, which I updated to the latest 3.1.29. There were blocks commented out like so:
Code: | {*}
...code, code, code...
{*} |
In PHPStorm they showed up as commented out, but when it was executed, the blocks were not commented out. My question is whether this is a bug in Smarty or PHPStorm (or both?). It would seem logical that they ought to be {* ... *} but I want to make extra sure.
Thank you. |
|
Back to top |
|
elpmis Smarty Elite
Joined: 07 Jun 2007 Posts: 321
|
Posted: Sun Aug 07, 2016 12:12 pm Post subject: Re: Should this comment block syntax work or fail? |
|
|
tylerwilson wrote: | It would seem logical that they ought to be {* ... *} but I want to make extra sure.
|
That's the right sntax . |
|
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
|