[kramdown-users] kramdown table-making has gone completely insane
Shawn Van Ittersum
svicalifornia at gmail.com
Sun Oct 10 12:03:38 EDT 2010
More generally, I think that kramdown should ignore the contents of any code block or span. I can't think of a good reason for kramdown to interpret the contents of code blocks. If it didn't, then this table creation problem would go away.
On Sun, 10 Oct 2010 08:34:04 -0700, Matt Neuburg wrote:
> require 'kramdown'
> s = <<END
> The operator `||` is called logical-or.
> puts Kramdown::Document.new(s).to_html
> What I expect:
> <p>The operator....
> What I get:
> <td>The operator `</td>
> <td> </td>
> <td>` is called logical-or.</td>
> There are actually two errors here. One is that must never be
> emitted, since I am using kramdown in an XSLT-processing context and
> is not a legal XML entity. Asking for :numeric output of entities
> makes no difference.
> However, the obvious larger error is that the table-parser has suddenly
> taken over and thinks this is a table. This is a new error (i.e. since the
> last release I was using). m.
> Workarounds: none found! I can't think what to do aside from trying to
> revert to an earlier version of kramdown. 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
> kramdown-users mailing list
> kramdown-users at rubyforge.org
More information about the kramdown-users