[ANN] PHP Markdown 1.0.1m & Extra 1.2.2

Michel Fortin michel.fortin at michelf.com
Sat Jun 21 22:27:28 EDT 2008


Here's another update to PHP Markdown and PHP Markdown Extra featuring
some bug fixes.

See the download link on the project's page:
<http://michelf.com/projects/php-markdown/>

This update also features a new emphasis parser which process regular
and strong emphasis in one pass instead of two and four for previous
versions of PHP Markdown and PHP Markdown Extra. The new parser is
also faster and easier to change if the logic needs to be adjusted. It
works by using context-dependent composition of a regular expression
for matching allowed emphasis tokens, and PHP code to generate proper
emphasis elements from the tokens.


1.0.1m:

* Lists can now have empty items.

* Rewrote the emphasis and strong emphasis parser to fix some issues
with odly placed and overlong markers.


Extra 1.2.2:

* Fixed a problem where abbreviation definitions, footnote
definitions and link references were stripped inside
fenced code blocks.

* Fixed a bug where characters such as `"` in abbreviation
definitions weren't properly encoded to HTML entities.

* Fixed a bug where double quotes `"` were not correctly encoded
as HTML entities when used inside a footnote reference id.


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




More information about the Markdown-Discuss mailing list