Sam Ruby has been doing a bang-up job fixing the bugs in REXML. Who knows when these improvements will trickle down to vendor distributions of Ruby. In the meantime, let's bundle the latest version of REXML with Instiki. We check the version number of the bundled REXML against that of the System REXML, and use whichever is later.
1.6 KiB
Directives should be preserved. *** Parameters: *** {} *** Markdown input: ***
Targets
Inside: last
*** Output of inspect *** md_el(:document,[ md_el(:xml_instr,[],{:code=>" noTarget",:target=>""},[]), md_el(:xml_instr,[],{:code=>"",:target=>"php"},[]), md_el(:xml_instr,[],{:code=>"",:target=>"xml"},[]), md_el(:xml_instr,[],{:code=>"",:target=>"mrk"},[]), md_par([ "Targets ", md_el(:xml_instr,[],{:code=>"noTarget",:target=>""},[]), " ", md_el(:xml_instr,[],{:code=>"",:target=>"php"},[]), " ", md_el(:xml_instr,[],{:code=>"",:target=>"xml"},[]), " ", md_el(:xml_instr,[],{:code=>"",:target=>"mrk"},[]) ]), md_par([ "Inside: ", md_el(:xml_instr,[],{:code=>"puts "Inside: Hello"",:target=>"mrk"},[]), " last" ]) ],{},[]) *** Output of to_html ***
Targets
Inside: last
*** Output of to_latex *** TargetsInside: last *** Output of to_md *** Targets
Inside: last *** Output of to_s *** Targets Inside: last *** EOF ***
OK!
*** Output of Markdown.pl ***
Targets
Inside: last
*** Output of Markdown.pl (parsed) ***
Targets
Inside: last