*** test_hikidoc.rb.old Sat Aug 8 10:05:15 2009 --- test_hikidoc.rb Sat Aug 8 10:40:39 2009 *************** *** 149,154 **** --- 149,164 ---- " {{_:a/a}}") assert_convert("
[[_:a/a]]\n", " [[_:a/a]]") + assert_convert("
{{\na\n}}\n", + " {{\n a\n }}") + assert_convert("
{{\n
a\n}}
\n", + " {{\na\n}}") + end + + def test_pre_with_plugin + assert_convert("{{\n" + + "
<foo>\n", "<<<\n
{{foo}}\n", + "<<<\n{{foo}}\n>>>") + assert_convert("
{{\n
foo}}
\n", + "<<<\n{{\n>>>\nfoo}}") + assert_convert(<<-END_OF_EXPECTED, <<-END_OF_INPUT) +{{<<TEST + test + TEST}}+ END_OF_EXPECTED + <<< + {{<
{{{}}}\n" + "
{{\n" + + "