lib/kramdown/parser/kramdown/horizontal_rule.rb in kramdown-0.6.0 vs lib/kramdown/parser/kramdown/horizontal_rule.rb in kramdown-0.7.0

- old
+ new

@@ -27,10 +27,10 @@ HR_START = /^#{OPT_SPACE}(\*|-|_)[ \t]*\1[ \t]*\1[ \t]*(\1|[ \t])*\n/ # Parse the horizontal rule at the current location. def parse_horizontal_rule @src.pos += @src.matched_size - @tree.children << Element.new(:hr) + @tree.children << new_block_el(:hr) true end define_parser(:horizontal_rule, HR_START) end