Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2008-05-21 02:38:22
- wolfcry911
- Member
- From: MA, USA
- Registered: 2006-06-30
- Posts: 51
How to control html source 'neatness' from textpattern?
Sorry if this has been covered before, but I came up with nothing on a search.
I was wondering if it’s possible to control how the html output from Textpattern is formatted. I’m somewhat of a neat freak and like my source indented. Furthermore, I like them to be two spaces each and not a tab. Is there any control over this from within TXP?
Offline
Re: How to control html source 'neatness' from textpattern?
Nope. TXP produces valid XHTML. Browsers don’t care about spacing, nor do we.
Offline
Re: How to control html source 'neatness' from textpattern?
Related. Indentation is helpful in your templates, but it doesn’t matter in your HTML source code.
Offline
#4 2008-05-21 15:05:17
- guitarman
- Member
- Registered: 2006-09-04
- Posts: 14
Re: How to control html source 'neatness' from textpattern?
used to get my goat all the time as well… you’d need to play around with the tags at times (to CR to not CR, add tabs, no tabs, double space or not). I don’t bother anymore … gets the real stuff done a lot faster.
Offline
Re: How to control html source 'neatness' from textpattern?
Or you could use this for textareas.
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline