nea / MarkdownViewerPlusPlus

A Notepad++ Plugin to view a Markdown file rendered on-the-fly
MIT License
1.17k stars 143 forks source link

Unnecessary <p> inside a bulleted list. #110

Open ThomasLeigh opened 5 years ago

ThomasLeigh commented 5 years ago

Issue description

When I use dashes to insert a bulleted list - it inserts additional <p> and </p> within <li> - which doesn't look well. It doesn't happen if I use asterisks to do the same (insert a bulleted list).

Environment

Nico207 commented 4 years ago

Apparently, this occurs when two consecutive lists are added or in case of carriage return added between two elements. To avoid this, in case of two consecutive lists, you can add an null character (ALT+255) between them.

image