instiki/vendor/plugins/maruku/tests/unittest/xml_instruction.md
Jacques Distler 1085168bbf Update to latest HTML5lib, Add Maruku testdir
Sync with the latest html5lib.
Having the Maruku unit tests on-hand may be useful for debugging; so let's include them.
2008-01-08 00:01:35 -06:00

1.5 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 *** Targets

Inside: 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) *** Error: #<NoMethodError: private method `write_children' called for

... </>:REXML::Element>