class Kramdown::Parser::Base

def adapt_source(source)

\n and makes sure +source+ ends with a new line character).
Modify the string +source+ to be usable by the parser (unifies line ending characters to
def adapt_source(source)
  source.gsub(/\r\n?/, "\n").chomp + "\n"
end