|
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 |
tinrocket Smarty n00b
Joined: 17 Jul 2004 Posts: 2
|
|
Back to top |
|
mohrt Administrator
Joined: 16 Apr 2003 Posts: 7368 Location: Lincoln Nebraska, USA
|
Posted: Sat Jul 17, 2004 6:26 am Post subject: |
|
|
What doesn't work about it? Gotta be more specific.
Be aware that browsers don't respect newlines, if that's what you are meaning. (look at the source, it's properly formatted) |
|
Back to top |
|
tinrocket Smarty n00b
Joined: 17 Jul 2004 Posts: 2
|
Posted: Sun Jul 18, 2004 5:13 am Post subject: |
|
|
mohrt wrote: | What doesn't work about it? Gotta be more specific.
Be aware that browsers don't respect newlines, if that's what you are meaning. (look at the source, it's properly formatted) |
It does not indent the lines in Safari (OS X), IE 5.2 (OS X) or my Mozilla browser (Camino .8, OS X) in my tests. But, that aside...the example on the documentation page for Indent does not have the proper formatting (as I would expect it to be, based on the example code). No spaces, no tabs.
How does newline apply in this case?
John |
|
Back to top |
|
messju Administrator
Joined: 16 Apr 2003 Posts: 3336 Location: Oldenburg, Germany
|
Posted: Sun Jul 18, 2004 7:54 am Post subject: |
|
|
tinrocket wrote: | It does not indent the lines in Safari (OS X), IE 5.2 (OS X) or my Mozilla browser (Camino .8, OS X) in my tests. |
it indents the html-source, of course.
Quote: | But, that aside...the example on the documentation page for Indent does not have the proper formatting (as I would expect it to be, based on the example code). No spaces, no tabs.
How does newline apply in this case?
|
this has been fixed in the cvs-version of the docs on june 28, see:
http://cvs.php.net/co.php/smarty/docs/en/designers/language-modifiers/language-modifier-indent.xml?r=1.2 |
|
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
|