line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
22955
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
28
|
|
2
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
51
|
|
3
|
|
|
|
|
|
|
package Rubric::Entry::Formatter::KwikiFormatish; |
4
|
|
|
|
|
|
|
{ |
5
|
|
|
|
|
|
|
$Rubric::Entry::Formatter::KwikiFormatish::VERSION = '0.552'; |
6
|
|
|
|
|
|
|
} |
7
|
|
|
|
|
|
|
# ABSTRACT: format entries with AlmostKwikiText |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
|
10
|
1
|
|
|
1
|
|
857
|
use Text::KwikiFormatish; |
|
1
|
|
|
|
|
11153
|
|
|
1
|
|
|
|
|
129
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub as_html { |
14
|
0
|
|
|
0
|
1
|
|
my ($class, $arg, $config) = @_; |
15
|
0
|
|
0
|
|
|
|
$config ||= {}; |
16
|
0
|
|
|
|
|
|
return Text::KwikiFormatish::format($arg->{text}, %$config); |
17
|
|
|
|
|
|
|
} |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
sub as_text { |
20
|
0
|
|
|
0
|
1
|
|
my ($class, $arg) = @_; |
21
|
|
|
|
|
|
|
|
22
|
0
|
|
|
|
|
|
return $arg->{text}; |
23
|
|
|
|
|
|
|
} |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
1; |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
__END__ |