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

Matt Neuburg matt at tidbits.com
Tue Jul 6 15:08:23 EDT 2010

On or about 7/6/10 11:51 AM, thus spake "Eric Sunshine"
<sunshine at sunshineco.com>:

> On 7/6/2010 1:33 PM, Matt Neuburg wrote:
>> No. If the actual character appears in input, leave it alone. UTF8
>> characters are legal in XHTML / XML.
>> This is also in keeping with the promise already given by Thomas Leitner
>> (and I quote):
>>> The kramdown parser (as well as the new
>>> HTML parser) doesn't convert between encodings or change normal
>>> characters to entities. Whatever string you give to kramdown comes out
>>> in the same encoding.
>> Actually, I thought that the example given in this email, namely the string
>> Bla&#x017e;, would have fallen into the field of this promise as well.
>> kramdown should not change literal entities or literal characters. m.
> Taken literally, Thomas's statement does not apply to this case. An
> entity (&aacute;) is not a literal character (á), and vice-versa.

I agree, taken literally; there are no two ways about that. But besides the
letter of the law, there is such a thing as the spirit of the law. My note
is meant to suggest what the spirit should be. :) m.

matt neuburg, phd = matt at tidbits.com, http://www.tidbits.com/matt/
pantes anthropoi tou eidenai oregontai phusei
Among the 2007 MacTech Top 25, http://tinyurl.com/2rh4pf
AppleScript: the Definitive Guide, 2nd edition
Take Control of Exploring & Customizing Snow Leopard
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
TidBITS, Mac news and reviews since 1990, http://www.tidbits.com

More information about the kramdown-users mailing list