[kramdown-users] quot entity

Eric Sunshine sunshine at sunshineco.com
Wed Aug 4 03:21:55 EDT 2010


On 8/4/2010 2:23 AM, Thomas Leitner wrote:
> On 2010-07-22 08:43 -0700 Matt Neuburg wrote:
>> This is not a very big deal, but I would like kramdown not to replace
>> straight double-quotes (e.g. in<code>) with the&quot; entity. There
>> is no need for this (certainly not in XHTML). I can post-process to
>> undo this, certainly, but I would prefer that it not happen in the
>> first place.
> I will look through the HTMl/XHTML/HTML5 specs to see what they say
> about the&quot; entity - I can't remember right now why I added this
> to the always-escape list...

I ran some tests with the w3.org validators for strict HTML/XHTML and 
raw quotes within content validated without problem. The entities are 
needed, however, when appearing within element attributes.

-- ES


More information about the kramdown-users mailing list