Sha256: c31ab2478a33ae20ee66b0bcb92f8a45434c457f06a46d2ef89b60f09d1dab8c

Contents?: true

Size: 1.25 KB

Versions: 5

Compression:

Stored size: 1.25 KB

Contents

JRUBY PENDING - This is just crazy, and crashes JRuby with its crazy regexes
*** Parameters: ***
require 'maruku/ext/div'; {} # params 
*** Markdown input: ***
+-----------------------------------{.warning}------
| this is the last warning!
|
| please, go away!
|
| +------------------------------------- {.menace} --
| | or else terrible things will happen
| +--------------------------------------------------
+---------------------------------------------------
*** Output of inspect ***
md_el(:document,[
	md_el(:div,[
		md_par(["this is the last warning!"]),
		md_par(["please, go away!"]),
		md_el(:div,[md_par(["or else terrible things will happen"])],{:label=>nil,:num=>nil,:type=>nil},[[:class, "menace"]])
	],{:label=>nil,:num=>nil,:type=>nil},[[:class, "warning"]])
],{},[])
*** Output of to_html ***
<div class="warning">
<p>this is the last warning!</p>

<p>please, go away!</p>

<div class="menace">
<p>or else terrible things will happen</p>
</div>
</div>
*** Output of to_latex ***
this is the last warning!

please, go away!

or else terrible things will happen
*** Output of to_md ***
this is the last warning!

please, go away!

or else terrible things will happen
*** Output of to_s ***
this is the last warning!please, go away!or else terrible things will happen

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
maruku-0.7.3 spec/block_docs/divs/div3_nest.md
maruku-0.7.2 spec/block_docs/divs/div3_nest.md
maruku-0.7.1 spec/block_docs/divs/div3_nest.md
maruku-0.7.0 spec/block_docs/divs/div3_nest.md
maruku-0.7.0.beta1 spec/block_docs/divs/div3_nest.md