Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add a test for =pod Html
Issue #23
  • Loading branch information
coke committed Feb 2, 2017
1 parent 7045c17 commit 0b44eb2
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions t/09-Html.t
@@ -0,0 +1,15 @@
use Test;
use Pod::To::HTML;
plan 1;
my $r;

=begin Html
This should be <b>raw</b> HTML
That isn't
changed.
=end Html

$r = node2html $=pod[0];
nok $r ~~ / '<p>' /, 'no paragraphs should be inserted into Html blocks';

0 comments on commit 0b44eb2

Please sign in to comment.