Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
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
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 br
s you should delete the linebreaks.
Offline
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
Offline
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
Pages: 1