Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-12-21 19:24:11

dada78
Member
From: New York
Registered: 2005-10-27
Posts: 138
Website

Article Formatting Messed Up

Maybe I am missing something here, but when I enter a paragraph – not just a line break – in article editing view, TXP still displays a line break, see below:

<code>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec rutrum est eu mauris. In volutpat blandit felis. Suspendisse eget pede.<br />
Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos. </p>
<p>Quisque sed arcu. Aenean purus nulla, condimentum ac, pretium at, commodo sit amet, turpis. Aenean lacus. Ut in justo. Ut viverra dui vel ante. Duis imperdiet porttitor mi.<br />
<span class=“weblink”><a href=”#”>How To Get Here</a></span></p></code>

How can I overcome this?

Thanks,
Dada

Offline

#2 2005-12-21 19:35:50

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: Article Formatting Messed Up

Textile works like this: A single line break is converted to a br, and double linebreaks above and below will lead to p. Everything looks normal there. If you do not want brs you should delete the linebreaks.

Offline

#3 2005-12-21 20:30:29

dada78
Member
From: New York
Registered: 2005-10-27
Posts: 138
Website

Re: Article Formatting Messed Up

Thanks a bunch. Didn’t know that a double line break is going to be converted to a paragraph!

Offline

#4 2005-12-21 23:53:57

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: Article Formatting Messed Up

It’s in the FAQ.


Alex

Offline

#5 2005-12-22 00:04:11

dada78
Member
From: New York
Registered: 2005-10-27
Posts: 138
Website

Re: Article Formatting Messed Up

Thanks Alex.
Yes I searched the FAQs before, typing in “paragraph” and a couple of other terms but the relevant article didn’t come up.

Last edited by dada78 (2005-12-22 00:07:10)

Offline

Board footer

Powered by FluxBB