Image-JpegTran-AutoRotate

 view release on metacpan or  search on metacpan

inc/Pod/Markdown.pm  view on Meta::CPAN

25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
our %URL_PREFIXES = (
  sco      => 'http://search.cpan.org/perldoc?',
  metacpan => 'https://metacpan.org/pod/',
  man      => 'http://man.he.net/man',
);
$URL_PREFIXES{perldoc} = $URL_PREFIXES{metacpan};
 
#{
  our $HAS_HTML_ENTITIES;
 
  # Stolen from Pod::Simple::XHTML 3.28. {{{
 
  BEGIN {
    $HAS_HTML_ENTITIES = eval "require HTML::Entities; 1";
  }
 
  my %entities = (
    q{>} => 'gt',
    q{<} => 'lt',
    q{'} => '#39',
    q{"} => 'quot',

inc/Pod/Markdown.pm  view on Meta::CPAN

1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
  $section =~ s/^-+//;
  $section = lc $section;
  #$section =~ s/^[^a-z]+//;
  $section ||= 'section';
 
  return $section;
}
 
 
{
  # From Pod::Simple::XHTML 3.28.
  # The strings gets passed through encode_entities() before idify().
  # If we don't do it here the substitutions below won't operate consistently.
 
  sub format_fragment_pod_simple_xhtml {
    my ($self, $t) = @_;
 
    # encode_entities {
      # We need to use the defaults in case html_encode_chars has been customized
      # (since the purpose is to match what external sources are doing).



( run in 0.825 second using v1.01-cache-2.11-cpan-95122f20152 )