Skip to content

Commit c1566d8

Browse files
committed
allow syntax highlighter config through HTML filter
1 parent e059bf4 commit c1566d8

File tree

1 file changed

+2
-2
lines changed
  • lib/MetaCPAN/Web/Controller

1 file changed

+2
-2
lines changed

lib/MetaCPAN/Web/Controller/Pod.pm

+2-2
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ sub view : Private {
109109
br => [],
110110
caption => [],
111111
center => [],
112-
code => [],
112+
code => [qw(class)],
113113
dd => ['id'],
114114
div => [qw(id style)],
115115
dl => ['id'],
@@ -126,7 +126,7 @@ sub view : Private {
126126
li => ['id'],
127127
ol => [],
128128
p => [qw(class style)],
129-
pre => [qw(id class style)],
129+
pre => [qw(id class style data-line data-start)],
130130
span => [qw(style)],
131131
strong => [],
132132
sub => [],

0 commit comments

Comments
 (0)