Fixed deprecated method call in list parser #30

Closed
wants to merge 1 commit into
from
Jump to file
+1 −1
Split
@@ -214,7 +214,7 @@ def parse_definition_list
else
last = nil
end
- if it.children.first.type == :p && !it.options.delete(:first_as_para)
+ if it.children.first.class == :p && !it.options.delete(:first_as_para)
it.children.first.children.first.value << "\n" if it.children.size > 1
it.children.first.options[:transparent] = true
end