glamour icon indicating copy to clipboard operation
glamour copied to clipboard

Mangled newlines in definition lists

Open afranke opened this issue 1 year ago โ€ข 2 comments

Newlines get mangled after the first item in the list and everything until the end of the list gets shown as definitions for the first term.

First term
: Definition one of first term.

Second term
: Definition one of second term.

yields

  First term
  ๐Ÿ ถ Definition one of first term.Second term
  ๐Ÿ ถ Definition one of second term.

Adding more newlines between items doesnโ€™t help.

afranke avatar Jun 18 '23 13:06 afranke

Thanks for reporting, just added to our list :+1:

bashbunni avatar Jun 23 '23 01:06 bashbunni

A workaround, that should not cause too many issues with other parsers can be to separate the def list items by an escape char \.

First term
: Definition one of first term.
\
Second term
: Definition one of second term.

bugabinga avatar Oct 14 '23 08:10 bugabinga