|
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 |
4485670 Smarty n00b
Joined: 27 Apr 2009 Posts: 2
|
Posted: Mon Apr 27, 2009 3:34 pm Post subject: {indent} |
|
|
Code: |
{strip}
<whatever>
<issexy>
<stays>sexy</sexy>
</issexy> </whatever>
{/strip}
|
will output to:
Code: | <whatever><issexy><stays>sexy</sexy></issexy></whatever> |
Code: |
{indent}
<whatever>
<issexy>
<stays>sexy</sexy>
</issexy>
</whatever>
{/indent}
|
will output to:
Code: |
<whatever>
<issexy>
<stays>
sexy
</sexy>
</issexy>
</whatever> |
i dunno maybe thats sexy?
i would like it! |
|
Back to top |
|
mohrt Administrator
Joined: 16 Apr 2003 Posts: 7368 Location: Lincoln Nebraska, USA
|
Posted: Mon Apr 27, 2009 3:39 pm Post subject: |
|
|
It would probably be called {tidy}{/tidy}, and be a wrapper for the PHP Tidy PECL extension. This is not installed in PHP by default. |
|
Back to top |
|
yarco Smarty Regular
Joined: 20 Mar 2009 Posts: 39
|
Posted: Fri Jul 17, 2009 7:36 am Post subject: |
|
|
oh? if such functions would be included in 3th plugin, i think GeShi should also be included too.
{GeShi}
// php code here...
{/GeShi}
|
|
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
|