Bug: Numbered lists restart if there is a space in between
Blank lines between bumbered list items cause a restart of the numbering.
Its not "just like e-mail"
Test case
This works with and without
RicherSyntaxPlugin
- Item One
- Item Two
- Item Three
(note: I have not used "1" for every item here, I'm trying to stick with the "just like e-mail" analogy)
but ...
- Item One
Discussion of Item one followed by blank line, as you might see in a cut and paste from e-mail
- Item two, also followed by blank line
- Item three
Check the raw text so you can see that TWiki does render 1,2,3 sensibly.
Environment
--
AntonAylward - 12 Nov 2004
Follow up
That's correct, it implements the spec.This isn't a bug, if anything it's a request for a spec change. But since we don;t have
ChangeProposalForm yet I'm going to leave it as a bug until we do.
--
CrawfordCurrie - 12 Nov 2004
Acknowleged :-/
Keeping the list items together doens't faze me, since I'm used to it, but for many of my users and the sites I'm setting up, the "just like e-mail" is a big seelling point. So much so that
RicherSyntaxPlugin and its ability to recognise headings like:
This is a Heading
=================
and hence allow "cut and paste" from e-mail into the "public record" of the wiki.
When I stop and think about it, I ought to go back and revisit a lot of e-mail to see what other "conventions" exist.
However ....
If, as at present blank line
specifies list renumbering restart, then what about the future? If blank lines are to be allowed between consecutively numbered list items, how are we to indicate a restart of numbering -- without putting something ugly in like %NEWLIST{ start="4" format="#)"}% ?
Oh, and without breaking anything in previously written topics!
--
CrawfordCurrie - 12 Nov 2004
Here are some test cases. Are they bugs or features?
List mixed with verbatim, no spaces (resets in
TWikiRelease01Sep2004)
- One
one
- Two
two
List mixed with verbatim, no spaces, indented (does not reset in
TWikiRelease01Sep2004)
- One
one
- Two
two
List mixed with
BeautifierPlugin, no spaces, indented (resets in
TWikiRelease01Sep2004)
- One
one
- Two
two
--
NicholasSushkin - 05 Apr 2005
Nicholas, I'm pretty sure an indent not reseting the number is a documented feature, but am not sure which topic. ...LATER: Aah, there it is:
VerbatimInBulletLists.
>
If blank lines are to be allowed between consecutively numbered list items, how are we to indicate a restart of numbering
By listening to the number used of course. If somebody starts a new (a list item after a newline) list with
3 instead of
1 then it must mean they want to start with 3...
--
MattWilkie - 06 Apr 2005
Hi, I just use a couple of
<br><br> at the end of the line so I get a blank line between bullets or numbers an never loose the sequence. i.e.
1. bullet 1%BRR%
1. bullet 2%BRR%
1. bullet 2.1%BRR%This way you can even have multiple lines%BRR%"inside" a bullet without loosing the numbering%BRR%although it looks a litte cluttered on the text view.
1. bullet 2.2%BRR%
1. bullet 3%BRR%
* bullet 3.1%BRR%
* bullet 3.2%BRR%
1. bullet 4
Results in:
- bullet 1
- bullet 2
- bullet 2.1
This way you can even have multiple lines
"inside" a bullet without loosing the numbering
although it looks a litte cluttered on the text view.
- bullet 2.2
- bullet 3
- bullet 4
I don't know perl yet, but may be you could define some variable like %BR% that expands to
<br><br> just to make typing easier!
--
MiguelVeloso - 07 Nov 2005
This is already easily possible (see raw text), but ugly!
--
FranzJosefSilli - 08 Nov 2005
Fix record