Debian Codegraph @

t/opentag.t

raw
1 #!perl -T
2 use Test::Simple tests => 1;
3 use Text::WikiCreole;
4
5 # test user-customized open tag
6
7 creole_tag("p", "open", "<p class=special>");
8
9 $markup = qq|This is a paragraph.|;
10
11 $goodhtml = qq|<p class=special>This is a paragraph.</p>
12
13 |;
14
15 $html = creole_parse $markup;
16
17 ok( $html eq $goodhtml );
18