You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that sometimes Kramdown emits warnings twice:
$ bundle show kramdown
/usr/local/lib/ruby/gems/2.4.0/gems/kramdown-1.16.2
irb(main):001:0> require 'kramdown'
=> true
irb(main):002:0> s = "This is a [link][with a missing id]"
=> "This is a [link][with a missing id]"
irb(main):003:0> ::Kramdown::Document.new(s).warnings
=> ["No link definition for link ID 'with a missing id' found on line 1", "No link definition for link ID 'with a missing id' found on line 1"]
The text was updated successfully, but these errors were encountered:
The reason for this is that the first warning comes from [link][missing] and the second from [missing]. I don't know if it makes to special case this in the parser.
I noticed that sometimes Kramdown emits warnings twice:
The text was updated successfully, but these errors were encountered: