Not all HTML entities are supported #114
I am using Jekyll with kramdown. While redcrapt supported all the HTML entities I've used, I've found that kramdown doesn't support some of my entities, and instead is just escaping the ampersand character.
I'm using a known and documented entities, which should be supported. I guess that if I'll replace the entity keyword with its numerical location it will work, but it is far less readable for who will read the unparsed document.
--- --- " Hello World π ‏ & & "
<p>" Hello World π &rlm; & & "</p>
<p>" Hello World π ‏ & & "</p>
(or replace &rlm with U+200F which I'm not really fan of…)
The text was updated successfully, but these errors were encountered:
I think there are a lot of entities not yet supported.
In these specifications, https://html.spec.whatwg.org/entities.json is referred to
require 'kramdown' text =<<-HTML Ă А 𝔄 Ā ⩓ HTML puts Kramdown::Document.new(text).to_html
<p>Ă А 𝔄 Ā ⩓</p>
<p>&Abreve; &Acy; &Afr; &Amacr; &And;</p>