[kramdown-users] 0.12 feature (bug? fyi?) BS&T;

Thomas Leitner t_leitner at gmx.at
Sun Nov 7 02:06:35 EST 2010

On 2010-11-06 13:20 -0700 David Doolin wrote:
> It turns out I'm comfortable and adept with the semi-colon.
> I'm also comfortable warping English into various non-
> standard forms to achieve certain literary or emotional effects.
> In this particular case, using the acronym "BS&T" to
> conclude the initial clause in a sentence resulted in
> `block in <module:Entities>': Can't handle generic non-integer
> character reference 'T' (Kramdown::Error)
> I wouldn't exactly call this a bug. But it bit me nonetheless.
> I am, however, going to rewrite that sentence without the semi-colon.
> Because "BS&T;" won't parse.

As discussed in the other responses, kramdown should not accept this as
a valid named entity. However, it shouldn't error out either but just
treat "BS&T;" as text -- so seeing it this way, this *is* actually a
bug! ;-)

Thanks for reporting, will fix it!

-- Thomas

More information about the kramdown-users mailing list