r42963 - in /branches/upstream/libtext-multimarkdown-perl/current: Changes MANIFEST MANIFEST.skip META.yml Makefile.PL lib/Text/MultiMarkdown.pm t/20fulldocs-text-multimarkdown.t t/36footnotes.t
jawnsy-guest at users.alioth.debian.org
jawnsy-guest at users.alioth.debian.org
Thu Aug 27 00:31:37 UTC 2009
Author: jawnsy-guest
Date: Thu Aug 27 00:31:29 2009
New Revision: 42963
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=42963
Log:
[svn-upgrade] Integrating new upstream version, libtext-multimarkdown-perl (1.0.27)
Added:
branches/upstream/libtext-multimarkdown-perl/current/MANIFEST.skip
branches/upstream/libtext-multimarkdown-perl/current/t/36footnotes.t
Modified:
branches/upstream/libtext-multimarkdown-perl/current/Changes
branches/upstream/libtext-multimarkdown-perl/current/MANIFEST
branches/upstream/libtext-multimarkdown-perl/current/META.yml
branches/upstream/libtext-multimarkdown-perl/current/Makefile.PL
branches/upstream/libtext-multimarkdown-perl/current/lib/Text/MultiMarkdown.pm
branches/upstream/libtext-multimarkdown-perl/current/t/20fulldocs-text-multimarkdown.t
Modified: branches/upstream/libtext-multimarkdown-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtext-multimarkdown-perl/current/Changes?rev=42963&op=diff
==============================================================================
--- branches/upstream/libtext-multimarkdown-perl/current/Changes (original)
+++ branches/upstream/libtext-multimarkdown-perl/current/Changes Thu Aug 27 00:31:29 2009
@@ -205,9 +205,14 @@
to enable <li value='X'> output for list numbering.
This feature is disabled by default.
-1.0.25 Tue Jun 9 22:52:13 BST 2009
+1.0.25 2009-06-09T22:52:13
- Split Text::MultiMarkdown back out into it's own dist.
-1.0.26 Wed Jul 1 08:35:00 BST 2009
+1.0.26 2009-07-01T08:35:00
- Fix to depend on the Text::Markdown package.
+1.0.27 2009-08-27T00:49:50
+ - Change bug tracker metadata to the github issue tracker.
+ - Fix http://github.com/bobtfish/text-multimarkdown/issues#issue/5
+ regression causing specialchars to not be unhashed in footnotes.
+
Modified: branches/upstream/libtext-multimarkdown-perl/current/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtext-multimarkdown-perl/current/MANIFEST?rev=42963&op=diff
==============================================================================
--- branches/upstream/libtext-multimarkdown-perl/current/MANIFEST (original)
+++ branches/upstream/libtext-multimarkdown-perl/current/MANIFEST Thu Aug 27 00:31:29 2009
@@ -11,6 +11,7 @@
License.text
Makefile.PL
MANIFEST This list of files
+MANIFEST.skip
META.yml
README
Readme.text
@@ -41,6 +42,7 @@
t/29fulldocs-maruku-unittest.t
t/30disable_multimarkdown_features.t
t/35commandlinemultimarkdown.t
+t/36footnotes.t
t/docs-maruku-unittest/abbreviations.html
t/docs-maruku-unittest/abbreviations.text
t/docs-maruku-unittest/alt.html
Added: branches/upstream/libtext-multimarkdown-perl/current/MANIFEST.skip
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtext-multimarkdown-perl/current/MANIFEST.skip?rev=42963&op=file
==============================================================================
--- branches/upstream/libtext-multimarkdown-perl/current/MANIFEST.skip (added)
+++ branches/upstream/libtext-multimarkdown-perl/current/MANIFEST.skip Thu Aug 27 00:31:29 2009
@@ -1,0 +1,50 @@
+^TODO$
+^Text-MultiMarkdown-
+
+# Avoid version control files.
+\bRCS\b
+\bCVS\b
+\bSCCS\b
+,v$
+\B\.svn\b
+\B\.git\b
+\b_darcs\b
+
+# Avoid Makemaker generated and utility files.
+\bMANIFEST\.bak
+\bMakefile$
+\bblib/
+\bMakeMaker-\d
+\bpm_to_blib\.ts$
+\bpm_to_blib$
+\bblibdirs\.ts$ # 6.18 through 6.25 generated this
+
+# Avoid Module::Build generated and utility files.
+\bBuild$
+\b_build/
+
+# Avoid temp and backup files.
+~$
+\.old$
+\#$
+\b\.#
+\.bak$
+
+# Avoid Devel::Cover files.
+\bcover_db\b
+
+### DEFAULT MANIFEST.SKIP ENDS HERE ####
+
+\.DS_Store$
+\.sw.$
+(\w+-)*(\w+)-\d\.\d+(?:\.tar\.gz)?$
+
+\.t\.log$
+\.gitignore$
+MANIFEST.SKIP$
+
+\.prove$
+\.shipit$
+
+# XS shit
+\.(?:bs|c|o)$
Modified: branches/upstream/libtext-multimarkdown-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtext-multimarkdown-perl/current/META.yml?rev=42963&op=diff
==============================================================================
--- branches/upstream/libtext-multimarkdown-perl/current/META.yml (original)
+++ branches/upstream/libtext-multimarkdown-perl/current/META.yml Thu Aug 27 00:31:29 2009
@@ -13,7 +13,7 @@
configure_requires:
ExtUtils::MakeMaker: 6.42
distribution_type: module
-generated_by: 'Module::Install version 0.91'
+generated_by: 'Module::Install version 0.910'
license: bsd
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -29,6 +29,7 @@
Text::Markdown: 1.0.24
perl: 5.8.0
resources:
+ bugtracker: http://github.com/bobtfish/text-multimarkdown/issues
license: http://opensource.org/licenses/bsd-license.php
- repository: http://bobtfish.github.com/text-multimarkdown/tree/master
-version: 1.0.26
+ repository: http://github.com/bobtfish/text-multimarkdown/
+version: 1.0.27
Modified: branches/upstream/libtext-multimarkdown-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtext-multimarkdown-perl/current/Makefile.PL?rev=42963&op=diff
==============================================================================
--- branches/upstream/libtext-multimarkdown-perl/current/Makefile.PL (original)
+++ branches/upstream/libtext-multimarkdown-perl/current/Makefile.PL Thu Aug 27 00:31:29 2009
@@ -6,7 +6,8 @@
author 'Tomas Doran <bobtfish at bobtfish.net>';
license 'bsd';
all_from 'lib/Text/MultiMarkdown.pm';
-resources repository => 'http://bobtfish.github.com/text-multimarkdown/tree/master';
+resources repository => 'http://github.com/bobtfish/text-multimarkdown/';
+resources bugtracker => 'http://github.com/bobtfish/text-multimarkdown/issues';
# Specific dependencies
perl_version '5.008';
Modified: branches/upstream/libtext-multimarkdown-perl/current/lib/Text/MultiMarkdown.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtext-multimarkdown-perl/current/lib/Text/MultiMarkdown.pm?rev=42963&op=diff
==============================================================================
--- branches/upstream/libtext-multimarkdown-perl/current/lib/Text/MultiMarkdown.pm (original)
+++ branches/upstream/libtext-multimarkdown-perl/current/lib/Text/MultiMarkdown.pm Thu Aug 27 00:31:29 2009
@@ -9,7 +9,7 @@
use Carp qw(croak);
use base qw(Text::Markdown);
-our $VERSION = '1.0.26';
+our $VERSION = '1.0.27';
our @EXPORT_OK = qw(markdown);
=head1 NAME
@@ -659,7 +659,7 @@
# First, run routines that get skipped in footnotes
foreach my $label (sort keys %{ $self->{_footnotes} }) {
my $footnote = $self->_RunBlockGamut($self->{_footnotes}{$label});
-
+ $footnote = $self->_UnescapeSpecialChars($footnote);
$footnote = $self->_DoMarkdownCitations($footnote);
$self->{_footnotes}{$label} = $footnote;
}
@@ -704,10 +704,10 @@
foreach my $id (@{ $self->{_used_footnotes} }) {
$footnote_counter++;
my $footnote = $self->{_footnotes}{$id};
- my $footnote_closing_tag = '';
$footnote =~ s/(\<\/(p(re)?|ol|ul)\>)$//;
- $footnote_closing_tag = $1;
+ my $footnote_closing_tag = $1;
+ $footnote_closing_tag = '' if !defined $footnote_closing_tag;
if ($footnote =~ s/^glossary:\s*//i) {
# Add some formatting for glossary entries
Modified: branches/upstream/libtext-multimarkdown-perl/current/t/20fulldocs-text-multimarkdown.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtext-multimarkdown-perl/current/t/20fulldocs-text-multimarkdown.t?rev=42963&op=diff
==============================================================================
--- branches/upstream/libtext-multimarkdown-perl/current/t/20fulldocs-text-multimarkdown.t (original)
+++ branches/upstream/libtext-multimarkdown-perl/current/t/20fulldocs-text-multimarkdown.t Thu Aug 27 00:31:29 2009
@@ -100,6 +100,7 @@
$processed =~ s/\s+\z//; # trim trailing whitespace
if ($TIDY) {
+ local $SIG{__WARN__} = sub {};
my $t = HTML::Tidy->new;
$output = $t->clean($output);
$processed = $t->clean($processed);
Added: branches/upstream/libtext-multimarkdown-perl/current/t/36footnotes.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtext-multimarkdown-perl/current/t/36footnotes.t?rev=42963&op=file
==============================================================================
--- branches/upstream/libtext-multimarkdown-perl/current/t/36footnotes.t (added)
+++ branches/upstream/libtext-multimarkdown-perl/current/t/36footnotes.t Thu Aug 27 00:31:29 2009
@@ -1,0 +1,30 @@
+use strict;
+use warnings;
+use Test::More tests => 2;
+
+use_ok('Text::MultiMarkdown');
+
+my $m = Text::MultiMarkdown->new(
+ disable_footnotes => 0
+);
+
+my $instr = <<MARKDOWN;
+This is buggy[^bug].
+
+[^bug]: Use `MYAPP_CONFIG_LOCAL_SUFFIX`.
+MARKDOWN
+
+my $expstr = <<OUTPUT;
+<p>This is buggy<a href="#fn:bug" id="fnref:bug" class="footnote">1</a>.</p>
+
+<div class="footnotes">
+<hr />
+<ol>
+
+<li id="fn:bug"><p>Use <code>MYAPP_CONFIG_LOCAL_SUFFIX</code>.<a href="#fnref:bug" class="reversefootnote"> ↩</a></p></li>
+
+</ol>
+</div>
+OUTPUT
+
+is($m->markdown($instr) => $expstr, 'underscores in code in footnotes');
More information about the Pkg-perl-cvs-commits
mailing list