[ANN] PHP Markdown 1.0.1h & Extra 1.1.4

Michel Fortin michel.fortin at michelf.com
Fri Aug 3 23:37:44 EDT 2007


This update to PHP Markdown fix a bug that slipped in the WordPress
interface with the last update. It also introduce a new "feature":
you can now instruct the parser to ignore HTML tags and/or entities
in the input. You can do this by instantiating yourself the parser
and setting the `no_markup` or `no_entities` properties to true:

$parser = new Markdown_Parser;
$parser->no_markup = true;
$parser->no_entities = true;
$html = $parser->transform($text);

Download page:
<http://www.michelf.com/projects/php-markdown/>


1.0.1h (3 Aug 2007):

* Added two properties (`no_markup` and `no_entities`) to the parser
allowing HTML tags and entities to be disabled.

* Fix for a problem introduced in 1.0.1g where posting comments in
WordPress would trigger PHP warnings and cause some markup to be
incorrectly filtered by the kses filter in WordPress.

Extra 1.1.4 (3 Aug 2007):

* Added Extra-specific code to support `no_markup`.


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




More information about the Markdown-Discuss mailing list