File: rt37909.t

package info (click to toggle)
libtext-markdown-perl 1.000031-5
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 1,988 kB
  • sloc: perl: 2,164; makefile: 9
file content (10 lines) | stat: -rw-r--r-- 228 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
use strict;
use warnings;
use Test::More tests => 2;

use_ok( 'Text::Markdown', 'markdown' );

my $m     = Text::Markdown->new;
my $html1 = $m->markdown('<a+b@c.org>');
like( $html1, qr/<p><a href=".+&#.+">.+&#.+<\/a><\/p>/ );