gettalong/kramdown — pull request #44 by stomar (2013-03-27 19:13:55+00:00)
Title: Removed trailing whitespace in link definition (kramdown output)

Avoids a trailing whitespace in link definitions without a title
when converting to kramdown format:

```
require 'kramdown'
htmldoc =<Test 1

Test 2

HTML
puts Kramdown::Document.new(htmldoc, :input => :html).to_kramdown
```
Output:

[Test 1][1]

[Test 2][2]

[1]: http://test1.com/
[2]: http://test2.com/ "Test 2"

with a whitespace at the end of link definition 1.