summaryrefslogtreecommitdiff
path: root/t/code-hr.t
blob: 005b39a43791a267e6617b3072b42f4a76145a6b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use strict;
use warnings;
use Text::Markdown 'markdown';
use Test::More tests => 1;

my $txt =  markdown(<<'END_MARKDOWN', { tab_width => 2 });
This is a para.

  This is code.
  ---
  This is code.

This is a para.
END_MARKDOWN

unlike($txt, qr{<hr}, "no HR elements when the hr is in a code block");