# File lib/maruku/input/parse_span.rb, line 307 def read_xml_instr_span(src, con) src.ignore_chars(2) # starting <? # read target <?target code... ?> target = if m = src.read_regexp(/^(\w+)/) m[1] else # XML instructions are invalid without a target '' end delim = "?>" code = read_simple(src, nil, nil, delim) src.ignore_chars delim.size code = (code || "").strip con.push_element md_xml_instr(target, code) end