lib/kramdown/parser/base.rb in kramdown-0.8.0 vs lib/kramdown/parser/base.rb in kramdown-0.9.0
- old
+ new
@@ -32,10 +32,9 @@
class Base
# Initialize the parser with the given Kramdown document +doc+.
def initialize(doc)
@doc = doc
- @doc.parse_infos.clear
@text_type = :text
end
private_class_method(:new, :allocate)
# Parse the +source+ string into an element tree, using the information provided by the