[kramdown-users] [ANN] kramdown 0.9.0 released

Eric Sunshine sunshine at sunshineco.com
Sat Jul 17 06:12:36 EDT 2010


On 7/17/2010 6:07 AM, Eric Sunshine wrote:
> Changing the 'p' tag to an 'a', however, does
> reproduce the problem:
> <a href="">Fran&#xE7;ois</a>
> kramdown converts this input to:
> [François]()
> which has IBM437 encoding on Windows (US/English version). When
> converted back to HTML, the above error occurs.

By the way, here is the full traceback of the crash when converting the 
"[François]()" back to HTML:

c:/ruby/lib/ruby/gems/1.9.1/gems/kramdown-0.9.0/lib/kramdown/parser/kramdown.rb:206:in 
`check': incompatible encoding regexp match (UTF-8 regexp with IBM437 
string) (Encoding::CompatibilityError)
	from 
c:/ruby/lib/ruby/gems/1.9.1/gems/kramdown-0.9.0/lib/kramdown/parser/kramdown.rb:206:in 
`block in parse_spans'
	from 
c:/ruby/lib/ruby/gems/1.9.1/gems/kramdown-0.9.0/lib/kramdown/parser/kramdown.rb:205:in 
`each'
	from 
c:/ruby/lib/ruby/gems/1.9.1/gems/kramdown-0.9.0/lib/kramdown/parser/kramdown.rb:205:in 
`any?'
	from 
c:/ruby/lib/ruby/gems/1.9.1/gems/kramdown-0.9.0/lib/kramdown/parser/kramdown.rb:205:in 
`parse_spans'
	from 
c:/ruby/lib/ruby/gems/1.9.1/gems/kramdown-0.9.0/lib/kramdown/parser/kramdown.rb:175:in 
`block in update_tree'
	from 
c:/ruby/lib/ruby/gems/1.9.1/gems/kramdown-0.9.0/lib/kramdown/parser/kramdown.rb:171:in 
`map!'
	from 
c:/ruby/lib/ruby/gems/1.9.1/gems/kramdown-0.9.0/lib/kramdown/parser/kramdown.rb:171:in 
`update_tree'
	from 
c:/ruby/lib/ruby/gems/1.9.1/gems/kramdown-0.9.0/lib/kramdown/parser/kramdown.rb:180:in 
`block in update_tree'
	from 
c:/ruby/lib/ruby/gems/1.9.1/gems/kramdown-0.9.0/lib/kramdown/parser/kramdown.rb:171:in 
`map!'
	from 
c:/ruby/lib/ruby/gems/1.9.1/gems/kramdown-0.9.0/lib/kramdown/parser/kramdown.rb:171:in 
`update_tree'
	from 
c:/ruby/lib/ruby/gems/1.9.1/gems/kramdown-0.9.0/lib/kramdown/parser/kramdown.rb:111:in 
`parse'
	from 
c:/ruby/lib/ruby/gems/1.9.1/gems/kramdown-0.9.0/lib/kramdown/parser/base.rb:47:in 
`parse'
	from 
c:/ruby/lib/ruby/gems/1.9.1/gems/kramdown-0.9.0/lib/kramdown/document.rb:101:in 
`initialize'
	from c:/ruby/lib/ruby/gems/1.9.1/gems/kramdown-0.9.0/bin/kramdown:72:in 
`new'
	from c:/ruby/lib/ruby/gems/1.9.1/gems/kramdown-0.9.0/bin/kramdown:72:in 
`<top (required)>'
	from c:/ruby/bin/kramdown:19:in `load'
	from c:/ruby/bin/kramdown:19:in `<main>'

-- ES


More information about the kramdown-users mailing list