Skip to content

Commit 5b3e591

Browse files
committed
Remove vim coda from source code in html
1 parent 7c69243 commit 5b3e591

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/Pod/Convenience.pm6

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ sub source-reference($file, $category) is export {
173173
sub source-without-pod($file) is export {
174174
my $example-source = slurp $file;
175175
$example-source.=subst(rx:s/\=begin pod.*\=end pod/, '');
176+
$example-source.=subst(rx/^^'# vim:'.*$$/, '');
176177
$example-source.=subst(rx/\n ** 3..*/, "\n\n");
177178

178179
return pod-code([$example-source]);

0 commit comments

Comments
 (0)