[ANN] PHP Markdown 1.0.1d

Michel Fortin michel.fortin at michelf.com
Fri Dec 1 23:01:10 EST 2006

I decided 1.0.1d would be about fixing bugs. PHP Markdown 1.0.1d is
simply version 1.0.2b7 with a couple more bug fixes and some features

I disabled support for [this] as a synonym for [this][] because it's
still labeled as experimental and because it's nowhere to be found in
the documentation yet. The `markdown="1"` hack added to 1.0.2b7 has
been disabled too. If you want these features reenabled, just
uncomment the relevant lines of `doAnchor` and `formParagraph`.


Additional changes since 1.0.2b7:

* Fixed a bug where inline images always had an empty title
attribute. The
title attribute is now present only when explicitly defined.

* Link references definitions can now have an empty title,
previously if the
title was defined but left empty the link definition was
ignored. This can
be useful if you want an empty title attribute in images to hide
tooltip in Internet Explorer.

* Made `detab` aware of UTF-8 characters. UTF-8 multi-byte
sequences are now
correctly mapped to one character instead of the number of bytes.

* Fixed a small bug with WordPress where WordPress' default filter
was not properly deactivated on comment text, resulting in hard
line breaks
where Markdown do not prescribes them.

* Added a `TextileRestrited` method to the textile compatibility
mode. There
is no restriction however, as Markdown does not have a
restricted mode at
this point. This should make PHP Markdown work again in the latest
versions of TextPattern.

Although it does not figure in the release notes, I also corrected a
few issues in the way emphasis is applied for all the edge cases I
could think of.

Michel Fortin
michel.fortin at michelf.com

More information about the Markdown-Discuss mailing list