nea / MarkdownViewerPlusPlus

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

MV sometimes adds extra linespacing after strikedout line #68

Open Yersh opened 6 years ago

Yersh commented 6 years ago

Issue description

2 examples. In Test1 MV++ adds an extraspacing after the striked out line. In Test2 it doesn't. Why? Same behavior shows with bold and italic text.

Markdown to reproduce


Test1.  
~~Test1.~~  
Test1.

---

~~Test2.~~  
Test2.

---
---

Screenshot of MarkdownViewer++ Interpretation

https://i.imgur.com/YMOg88o.png

Github Interpretation (for comparison)

Test1.
Test1.
Test1.


Test2.
Test2.



Environment

nea commented 6 years ago

Hi @Yersh

It seems the HTMLRenderer adds another space for the added element inside the paragraph. No matter if or , it always acts up, even if the HTML is correct.

<p>Test1<br />
<del>Test2</del><br />
Test3</p>

I will post an issue over at HTMLRenderer.

Thanks

Yersh commented 6 years ago

Unfortunately, HTMLRenderer seems to be abandoned. Who knows how much it would take for problem to be fixed. :(