[kramdown-users] using kramdown in xhtml
Elliot Winkler
elliot.winkler at gmail.com
Fri Jun 11 09:39:23 EDT 2010
On 6/11/10 12:55 AM, Thomas Leitner wrote:
> * Just using whatever the user gives to kramdown and outputting it in
> the same encoding. This is by far the easiest way, in Ruby 1.8 and
> 1.9. The only difference between 1.8 and 1.9 is that in 1.9 kramdown
> knows the encoding whereas in 1.8 kramdown can only assume that the
> string is ASCII compatible.
>
> So basically the user needs to make sure that the string is in the
> correct encoding before it is given to kramdown.
If there were a "keep your hands off my special characters" option in
addition to the numeric entities option, that's how I'd think it should
work. Is there a case in which kramdown needs to convert the source text
into another encoding?
-- Elliot
More information about the kramdown-users
mailing list