Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update Pod::To:Text to handle formatted code blocks
  • Loading branch information
Mouq committed Feb 19, 2014
1 parent e08bdbb commit 1217268
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Pod/To/Text.pm
Expand Up @@ -38,7 +38,7 @@ sub heading2text($pod) {
}

sub code2text($pod) {
" " ~ $pod.content.subst(/\n/, "\n ", :g)
" " ~ $pod.content>>.&pod2text.subst(/\n/, "\n ", :g)
}

sub item2text($pod) {
Expand Down

0 comments on commit 1217268

Please sign in to comment.