Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2006-01-18 10:43:01
- robert.hilbe
- New Member
- Registered: 2004-12-15
- Posts: 3
Prevent Textile from indenting code
Is it possible to prevent Textile from indenting the code it outputs? As I like my code best without indents and prefer just line breaks I would appreciate a hack very much.
Offline
#2 2006-01-18 10:54:01
- alexandra
- Member
- From: Cologne, Germany
- Registered: 2004-04-02
- Posts: 1,370
Re: Prevent Textile from indenting code
… must be a css issue as Textile does not indent code in general.
Offline
#3 2006-01-18 11:29:15
- robert.hilbe
- New Member
- Registered: 2004-12-15
- Posts: 3
Re: Prevent Textile from indenting code
> alexandra wrote:
> … must be a css issue as Textile does not indent code in general.
Perhaps I must be more accurate: With “code” I mean the XHTML source code Textile outputs and not what you see in the browser. Is there a way to prevent Textile form indenting source code?
Offline
#4 2006-01-18 11:52:31
- zem
- Developer Emeritus
- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: Prevent Textile from indenting code
Sure: edit classTextile.php.
Alex
Offline
#5 2006-01-18 12:45:43
- robert.hilbe
- New Member
- Registered: 2004-12-15
- Posts: 3
Re: Prevent Textile from indenting code
> zem wrote:
> Sure: edit classTextile.php.
Dear zem,
As my PHP and particularly regular expression skills are limited, I am not able to edit this file by myself. Can you give me a hint what exactly to edit?
Offline
Pages: 1