joemccann / dillinger

The last Markdown editor, ever.
https://dillinger.io
MIT License
7.97k stars 1.11k forks source link

Convert characters to HTML entities in "Show HTML" mode #217

Closed TomLany closed 6 years ago

TomLany commented 10 years ago

When you press Utilities > Show HTML, characters are not converted to HTML entities. To test this, I added the following sentence with fancy quotes to a document, and then viewed the HTML:

Let’s see what happens when I add these kinds of “fancy quotes” to my document.

Characters are correctly converted when you press Utliities > Export as HTML File.

nfasulo commented 7 years ago

This is still an issue whether you press Preview As or Export As > HTML (or Styled HTML).