11

This seems so stupidly simple, but I can't figure it out. I'd like to make a list like this in my Redmine project wiki:

  1. Really complicated item

    Line 3

  2. Next complicated item

Basically, I want to have blank lines in my list without restarting numbering. How do I do this? It seems so basic; I can't believe they haven't thought of this - I must be missing something obvious.

Community
  • 1
  • 1
James Johnston
  • 9,264
  • 9
  • 48
  • 76

2 Answers2

24

I finally figured out a good way to do this using non-breaking spaces:

# Really complicated item
  
 Line 3
  
# Next complicated item

Seems that I found a part of HTML that isn't banned by Redmine... If that changes, you can still work around it using marapet's solution, but for the item after Line 3 you have to copy/paste a non-breaking space (a different character from normal space) instead of just pressing spacebar between the "@ @" symbols.

James Johnston
  • 9,264
  • 9
  • 48
  • 76
5

Redmine produces this html:

<ol>
<li>Really complicated item

    <p>Line 3</p>
    </li>
    <li>Next complicated item</li>
</ol>

By adding @ @ as the second (empty) line :

# Really complicated item
 @ @
 Line 3
# Next complicated item

the html generated is:

<ol>
    <li>Really complicated item
<br/>
 <code> </code><br/> Line 3</li>
    <li>Next complicated item</li>
</ol>

which should display as you'd like (at least with the default theme), but semantically it's of course non-sense.

marapet
  • 54,856
  • 12
  • 170
  • 184
  • Clever... works for the example you gave, but how to add a blank line *after* the Line 3 and *before* #2 "Next Complicated Item"? Using "@ @" after Line 3 didn't seem to work for that. – James Johnston Mar 14 '12 at 14:30