nea / MarkdownViewerPlusPlus

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

CSS child selector #34

Open p11h opened 7 years ago

p11h commented 7 years ago

Using the child selector > in the Custom CSS does not work as expected. It appears to get parsed into the HTML entity > during export to HTML.

nea commented 7 years ago

Hey @stezmi

Ok, this sounds similar to the pre/code issue. Probably my "pre-processing". Will also check on that.

Cheers

monoblaine commented 6 years ago

I've also come across this problem. The > characters are lost when the output html is parsed and converted to string:

Link to line

html = XDocument.Parse(html).ToString();

@nea, is parsing here really necessarry?

nea commented 6 years ago

Hi @monoblaine

There was a reason... I just cannot remember ^^# I think it was just about formatting of the output somebody else complaint about in another ticket why I chose the "simple way".

When I go through your PR I will check this.

Thanks