[kramdown-users] using kramdown in xhtml
Thomas Leitner
t_leitner at gmx.at
Sun Jun 13 02:10:25 EDT 2010
On Sat, 12 Jun 2010 14:51:45 -0500
john muhl <johnmuhl at gmail.com> wrote:
> On Fri, Jun 11, 2010 at 2:58 AM, Thomas Leitner <t_leitner at gmx.at>
> wrote:
> > I have pushed the latest changes to the github repo for your
> > consumption/consideration :-)
> >
> > The changes include the new `numeric_values` option as well as the
> > conversion of entities to characters under Ruby 1.9 (only done in
> > the HTML converter).
>
> i think `rsquo` (e.g. in `it's`) is still slipping through as a named
> entity with `numeric_entities` set to true.
It's working fine on my end (on the latest commit pushed to github):
$ ruby -Ilib bin/kramdown --no-numeric_entities
It's^D
<p>It’s</p>
$ ruby -Ilib bin/kramdown --numeric_entities
It's
<p>It’s</p>
Do you have a special test case where this happens?
-- Thomas
More information about the kramdown-users
mailing list