# File lib/maruku/helpers.rb, line 12 def md_el(node_type, children=[], meta={}, al=nil) children = Array(children) first = children.first if first && first.is_a?(MDElement) && first.node_type == :ial if al al += first.ial else al = first.ial end children.shift end e = MDElement.new(node_type, children, meta, al) e.doc = @doc e end