(notice the trailing newline) the kramdown parser breaks as follows:
➜ ckruse@vali ~ % kramdown ./test.md
/Users/ckruse/.rvm/gems/ruby-2.2.1/gems/kramdown-1.7.0/lib/kramdown/parser/kramdown/table.rb:94:in `parse_table': undefined method `strip' for nil:NilClass (NoMethodError)
from /Users/ckruse/.rvm/gems/ruby-2.2.1/gems/kramdown-1.7.0/lib/kramdown/parser/kramdown.rb:140:in `block (2 levels) in parse_blocks'
from /Users/ckruse/.rvm/gems/ruby-2.2.1/gems/kramdown-1.7.0/lib/kramdown/parser/kramdown.rb:138:in `any?'
from /Users/ckruse/.rvm/gems/ruby-2.2.1/gems/kramdown-1.7.0/lib/kramdown/parser/kramdown.rb:138:in `block in parse_blocks'
from /Users/ckruse/.rvm/gems/ruby-2.2.1/gems/kramdown-1.7.0/lib/kramdown/parser/kramdown.rb:136:in `catch'
from /Users/ckruse/.rvm/gems/ruby-2.2.1/gems/kramdown-1.7.0/lib/kramdown/parser/kramdown.rb:136:in `parse_blocks'
from /Users/ckruse/.rvm/gems/ruby-2.2.1/gems/kramdown-1.7.0/lib/kramdown/parser/kramdown.rb:89:in `parse'
from /Users/ckruse/.rvm/gems/ruby-2.2.1/gems/kramdown-1.7.0/lib/kramdown/parser/base.rb:69:in `parse'
from /Users/ckruse/.rvm/gems/ruby-2.2.1/gems/kramdown-1.7.0/lib/kramdown/document.rb:107:in `initialize'
from /Users/ckruse/.rvm/gems/ruby-2.2.1/gems/kramdown-1.7.0/bin/kramdown:59:in `new'
from /Users/ckruse/.rvm/gems/ruby-2.2.1/gems/kramdown-1.7.0/bin/kramdown:59:in `<top (required)>'
from /Users/ckruse/.rvm/gems/ruby-2.2.1/bin/kramdown:23:in `load'
from /Users/ckruse/.rvm/gems/ruby-2.2.1/bin/kramdown:23:in `<main>'
from /Users/ckruse/.rvm/gems/ruby-2.2.1/bin/ruby_executable_hooks:15:in `eval'
from /Users/ckruse/.rvm/gems/ruby-2.2.1/bin/ruby_executable_hooks:15:in `<main>'
➜ ckruse@vali ~ % kramdown -v
1.7.0
➜ ckruse@vali ~ %
This happens as well when I use the kramdown parser in a Ruby block.
The text was updated successfully, but these errors were encountered:
I just noticed a problem in the table parser. Given the following document:
(notice the trailing newline) the kramdown parser breaks as follows:
This happens as well when I use the kramdown parser in a Ruby block.
The text was updated successfully, but these errors were encountered: