Skip to content

Commit 230d296

Browse files
committed
Commented out problem code
1 parent b7c6eff commit 230d296

File tree

1 file changed

+11
-14
lines changed

1 file changed

+11
-14
lines changed

lib/Pod/Htmlify.pm6

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -189,21 +189,18 @@ class Website is export {
189189
method p2h($pod) {
190190
my $head = slurp 'template/head.html';
191191
my $footer = footer-html;
192-
my %*POD2HTML-CALLBACKS = code => sub (:$node, :&default) {
193-
try {
194-
my $v = Text::VimColour.new(lang => 'perl6', code => "{$node.contents.join}");
195-
warn $v.perl;
196-
shell 'vim';
197-
198-
die;
199-
}
200-
CATCH {
201-
default {
202-
return "<pre>" ~ $node.contents.join ~ "</pre>";
203-
}
204-
}
192+
# my %*POD2HTML-CALLBACKS = code => sub (:$node, :&default) {
193+
# try {
194+
# my $v = Text::VimColour.new(lang => 'perl6', code => "{$node.contents.join}");
195+
# return $v.html;
196+
# }
197+
# CATCH {
198+
# default {
199+
# return "<pre>" ~ $node.contents.join ~ "</pre>";
200+
# }
201+
# }
205202

206-
};
203+
# };
207204
pod2html $pod,
208205
:url(&url),
209206
:$head,

0 commit comments

Comments
 (0)