0

This question already has an answer here:

When I want to use sub-list and new line together, line breaks appears on unexpected parts instead of wher it must be.

Like Follows:

 * My list item
   * Sublist item
   * Another Sub list
 * Second main list
   * Sublist of second

 * Problematic line break was one line before
   * Another one with upper margin error
   * One more line of sub list element
 * One more list item
   * And its sub element is ok
  • My list item
    • Sublist item
    • Another Sub list
  • Second main list

    • Sublist of second
  • Problematic line break was one line before

    • Another one with upper margin error
    • One more line of sub list element
  • One more list item
    • And its sub element is ok

A screenshot:

Listing margin error

Occured on Ubuntu with Firefox 26.0

marked as duplicate by Shadow The Dragon Wizard, ben is uǝq backwards, hims056, Rory, Danubian Sailor Jan 18 '14 at 16:44

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

0

I usually use an empty comment <!-- --> for things like this. It is sometimes hard for the computer to understand your formatting and a little separation makes things easier.

 * My list item
   * Sublist item
   * Another Sub list
 * Second main list
   * Sublist of second

<!-- -->

 * Problematic line break was one line before
   * Another one with upper margin error
   * One more line of sub list element
 * One more list item
   * And its sub element is ok

Results:

  • My list item
    • Sublist item
    • Another Sub list
  • Second main list
    • Sublist of second
  • Problematic line break was one line before
    • Another one with upper margin error
    • One more line of sub list element
  • One more list item
    • And its sub element is ok

Not the answer you're looking for? Browse other questions tagged .