File Coverage

blib/lib/BBCode/Tag/LI.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 6 6 100.0
pod 3 3 100.0
total 21 21 100.0


line stmt bran cond sub pod time code
1             # $Id: LI.pm 284 2006-12-01 07:51:49Z chronos $
2             package BBCode::Tag::LI;
3 3     3   19 use base qw(BBCode::Tag::Simple BBCode::Tag);
  3         6  
  3         1740  
4 3     3   20 use strict;
  3         8  
  3         89  
5 3     3   17 use warnings;
  3         6  
  3         449  
6             our $VERSION = '0.34';
7              
8             sub BodyPermitted($):method {
9 90     90 1 364 return 1;
10             }
11              
12             sub BodyTags($):method {
13             # Despite previous reports to the contrary, :BLOCK is fine here
14 38     38 1 130 return qw(:BLOCK :INLINE);
15             }
16              
17             sub toHTML($):method {
18 16     16 1 81 return shift->SUPER::toHTML(@_)."\n";
19             }
20              
21             1;