Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-06-05 00:37:26

Aleksandersen
Member
From: Lillehammer, Norway
Registered: 2007-04-12
Posts: 77

[textile] Controlling txp:body <p> whitespace

Hi,

Textpattern adds one blank line, and a tab indent in front of every paragrah tag (“@<p>@”) and other blocklevel elements in <txp:body /> by default as HTML output.

I would like to remove the blank line (only one line break), and have four tab indents.

How can I change this? I have not found any options for this anywhere. Nor have I been able to figure out where in the code this is set.

The purpose of this is to have a cleaner HTML output.

Offline

#2 2007-06-05 00:52:50

Aleksandersen
Member
From: Lillehammer, Norway
Registered: 2007-04-12
Posts: 77

Re: [textile] Controlling txp:body <p> whitespace

I would actually be able to controll more whitespaces. It appears there is one tab indend inserted infront of almost everything. How can I controll this?

Offline

#3 2007-06-05 05:00:19

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,323
Website Mastodon

Re: [textile] Controlling txp:body <p> whitespace

The HTML output is formatted by Textile.

Last edited by wet (2007-06-05 05:00:37)

Offline

Board footer

Powered by FluxBB