[SCM] Debian packaging of libpod-markdown-perl branch, master, updated. 3f1f9ef0f0744605d73e87adddeb4919e4bccd64
Florian Schlichting
fschlich at zedat.fu-berlin.de
Fri Nov 25 23:46:19 UTC 2011
The following commit has been merged in the master branch:
commit c0d46e321b16a8de0239bb9a50e9137746ef52c3
Author: Florian Schlichting <fschlich at zedat.fu-berlin.de>
Date: Fri Nov 25 23:33:19 2011 +0000
refresh patch
diff --git a/debian/patches/0001-Escape-characters-that-can-have-a-special-meaning-in.patch b/debian/patches/0001-Escape-characters-that-can-have-a-special-meaning-in.patch
index aef19c6..6019078 100644
--- a/debian/patches/0001-Escape-characters-that-can-have-a-special-meaning-in.patch
+++ b/debian/patches/0001-Escape-characters-that-can-have-a-special-meaning-in.patch
@@ -9,11 +9,9 @@ meanings in markdown as emphasis
t/misc.t | 11 ++++++++++-
2 files changed, 19 insertions(+), 1 deletions(-)
-diff --git a/lib/Pod/Markdown.pm b/lib/Pod/Markdown.pm
-index c58c282..781fcae 100644
--- a/lib/Pod/Markdown.pm
+++ b/lib/Pod/Markdown.pm
-@@ -82,8 +82,15 @@ sub _indent_text {
+@@ -94,8 +94,15 @@
sub _clean_text {
my $text = $_[1];
my @trimmed = grep { $_; } split(/\n/, $text);
@@ -29,26 +27,25 @@ index c58c282..781fcae 100644
sub command {
my ($parser, $command, $paragraph, $line_num) = @_;
-@@ -145,12 +152,14 @@ sub command {
+@@ -157,6 +164,7 @@
sub verbatim {
my ($parser, $paragraph) = @_;
-+ $paragraph = $parser->_escape($paragraph);
- $parser->_save($paragraph);
- }
++ $paragraph = $parser->_escape($paragraph);
+ # POD verbatim can start with any number of spaces (or tabs)
+ # markdown should be 4 spaces (or a tab)
+@@ -181,6 +189,7 @@
sub textblock {
my ($parser, $paragraph, $line_num) = @_;
my $data = $parser->_private;
-+ $paragraph = $parser->_escape($paragraph);
++ $paragraph = $parser->_escape($paragraph);
# interpolate the paragraph for embebed sequences
$paragraph = $parser->interpolate($paragraph, $line_num);
-diff --git a/t/misc.t b/t/misc.t
-index 3f94c3e..135acea 100755
--- a/t/misc.t
+++ b/t/misc.t
-@@ -15,7 +15,7 @@ pod2markdown - Convert POD text to Markdown
+@@ -15,7 +15,7 @@
# SYNOPSIS
@@ -57,7 +54,7 @@ index 3f94c3e..135acea 100755
# DESCRIPTION
-@@ -50,6 +50,11 @@ item
+@@ -50,6 +50,11 @@
- list
- test
@@ -69,7 +66,7 @@ index 3f94c3e..135acea 100755
EOMARKDOWN
1 while chomp $markdown;
-@@ -112,3 +117,7 @@ list
+@@ -112,3 +117,7 @@
=item * test
=back
@@ -77,4 +74,3 @@ index 3f94c3e..135acea 100755
+=head1 Special characters
+
+ foo_bar is the result of 4 * 4
---
--
Debian packaging of libpod-markdown-perl
More information about the Pkg-perl-cvs-commits
mailing list