[kramdown-users] Zcaron/zcaron not valid HTML references

Shawn Van Ittersum svicalifornia at gmail.com
Tue Jul 6 08:20:34 EDT 2010


It would be better if kramdown left encoded entities in input in the same encoding on output.  Thus:

Bla&#x017e;  ->   <p>Bla&#x017e;</p>

Bla&zcaron;  ->   <p>Bla&zcaron;</p>

And if the actual character appears in input (unencoded), then convert to numeric as Eric suggests.

Shawn

On Mon, 05 Jul 2010 20:17:18 -0400, Eric Sunshine wrote:
> Given the input:
> 
>     Bla&#x017e;
> 
> kramdown 0.9.0 emits:
> 
>     <p>Bla&zcaron;</p>
> 
> No modern browsers which I tested (Chrome 5.0.x, Firefox 3.6.x, IE8) 
> recognize either 'Zcaron' or 'zcaron' entities. Apparently, these 
> entities never made it into the HTML standard.
> 
> Best would be for kramdown to emit these two entities numerically 
> rather than symbolically (even when :numeric_entities is false).
> 
> -- ES
> _______________________________________________
> kramdown-users mailing list
> kramdown-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/kramdown-users


More information about the kramdown-users mailing list