Add module version numbers to Perl modules that might need them
This commit is contained in:
@@ -5,6 +5,8 @@ use warnings;
|
||||
|
||||
use base 'Pod::Simple::HTML';
|
||||
|
||||
our $VERSION = '1.2.1';
|
||||
|
||||
sub encode_entities {
|
||||
my ($self, $str) = @_;
|
||||
my %entities = (
|
||||
|
||||
@@ -7,6 +7,8 @@ use warnings;
|
||||
|
||||
use base 'Pod::Markdown';
|
||||
|
||||
our $VERSION = '1.1.1';
|
||||
|
||||
# Translate L<link text|filename/Section name>
|
||||
# into <a href="filename.md#section-name">link text</a>#
|
||||
# This is for Sphinx processing on Readthedocs. Sphinx converts
|
||||
|
||||
@@ -5,6 +5,8 @@ use warnings;
|
||||
|
||||
use base 'Pod::Simple::XHTML';
|
||||
|
||||
our $VERSION = '1.2.1';
|
||||
|
||||
BEGIN {
|
||||
if ($Pod::Simple::XHTML::VERSION < '3.16') {
|
||||
# Add encode_entities() as a method
|
||||
|
||||
Reference in New Issue
Block a user