Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

improve L<> rendering a bit, to make S26 happier

  • Loading branch information...
commit ac09ad554d0bcb00717c668adbc2216eff646766 1 parent 284cc49
@moritz moritz authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  lib/Pod/To/HTML.pm
View
3  lib/Pod/To/HTML.pm
@@ -398,7 +398,7 @@ multi sub node2inline(Pod::FormattingCode $node) returns Str {
#= Links
when 'L' {
- my $url = $node.content.join;
+ my $url = node2inline($node.content);
my $text = $url;
if $url ~~ /'|'/ {
$text = $/.prematch;
@@ -406,7 +406,6 @@ multi sub node2inline(Pod::FormattingCode $node) returns Str {
}
$url = url($url);
# TODO: URI-escape $url
- $text = escape_html $text;
return qq{<a href="$url">{$text}</a>}
}
Please sign in to comment.
Something went wrong with that request. Please try again.