Backport for perl of "PHP Markdown Extra"

Michel Fortin michel.fortin at michelf.com
Sat Sep 3 10:38:48 EDT 2005


Le 2005-09-03 à 3:23, woremacx a écrit :


> Hi,

>

> I'm backporting for perl of "PHP Markdown Extra".

> Currently, my backport has bugs. So, some results will be broken.

> But, Definition and Table seems work correctly.


Wow! this is interesting.

Some things I found by looking at your diff:

1. `_UnslashQuote`: you shouldn't need that function in Perl. I made
it to work around PHP automatic addition of slashes in some
contexts,
but Perl doesn't do that so using it will only remove slashes that
should stay there.

2. It seems your changes are based on a diff between PHP Markdown
1.0.1b
and PHP Markdown Extra 1.0b4. I can say this because I've made some
bug fixes in PHP Markdown 1.0.1b that are also present in
PHP Markdown Extra but that I don't see in your backport because
they
aren't in Markdown 1.0.1. You may want to look at them (by
making a diff
between PHP Markdown 1.0.1a and 1.0.1b).

I also have some [MarkdownTest][] test cases for tables and
definition lists
you may find handy. I'll try to publish them soon.

[MarkdownTest]: http://six.pairlist.net/pipermail/markdown-discuss/
2004-December/000909.html


Michel Fortin
michel.fortin at michelf.com
http://www.michelf.com/




More information about the Markdown-Discuss mailing list