Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2005-10-28 01:39:22
- Kibitzer
- Member
- From: Melbourne, Australia
- Registered: 2004-05-24
- Posts: 44
Incomplete unordered list
Hi all. I don’t check this part of the forum very often so if this has come up before, apologies.
I have an issue where Textile doesn’t complete an unordered list. Text entered like this:
<code>
* FRED.REL.01.038.001
defects fixed: 917, 1100, 1185, 1206, 1207, 1210, 1213
>* JACK.REL.01.006.001
defects fixed: 1175, 1204, 1211
</code>
(please ignore that greater than symbol on the “JACK” line) ends up as this HTML:
<code> <ul><br/> <li>FRED.REL.01.038.001<br /><br/> defects: 917, 1100, 1185, 1206, 1207, 1210, 1213<br/> <li>JACK.REL.01.006.001<br /><br/> defects: 1175, 1204, 1211 </code>
As you can see, it doesn’t generate the ending </ul> tag. This causes articles to appear progressively smaller as they are interpreted as sub-lists of the top list.
Anyone come across this before? Is there a fix or workaround?
VC200 Member #69 — VCTWO Member — Mixed Gorilla
“YES!” “That would be an ecumenical matter!”
Offline
#2 2005-10-28 01:44:49
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Incomplete unordered list
What is the greater than symbol for?
Offline
#3 2005-10-28 04:33:08
- Kibitzer
- Member
- From: Melbourne, Australia
- Registered: 2004-05-24
- Posts: 44
Re: Incomplete unordered list
> mary wrote:
> What is the greater than symbol for?
Dammit, I knew someone would ask :-)
I spent about 20mins just tooling around with Textile to make the post look how I wanted — not writing the post, not getting the examples, just innumerable “well I’ll try this then” and hitting Preview. That greater than symbol was a way of forcing that third line to break, without a <br /> tag which, while breaking the line, also showed up at the end of the line.
So please, please, please, please… ignore it.
VC200 Member #69 — VCTWO Member — Mixed Gorilla
“YES!” “That would be an ecumenical matter!”
Offline
#4 2005-10-28 05:06:38
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Incomplete unordered list
Hehehe. Well, I’m afraid Textile does not really work with line breaks (or other tags like p or div) within lists, at least not yet anyway. Instead of entering a newline, enter the (x)html line break yourself, i.e (hit “Quote” to see what I entered):
- FRED.REL.01.038.001<br />defects fixed: 917, 1100, 1185, 1206, 1207, 1210, 1213
- JACK.REL.01.006.001<br />defects fixed: 1175, 1204, 1211
Offline
Pages: 1