diff --git a/PHP Markdown Readme.text b/PHP Markdown Readme.text index 33f9223..db61f2b 100644 --- a/PHP Markdown Readme.text +++ b/PHP Markdown Readme.text @@ -245,6 +245,8 @@ Version History * Fixed a bug where tags where the name contains an underscore aren't parsed correctly. +* Fixed some corner-cases mixing underscore-ephasis and asterisk-emphasis. + 1.0.1m (21 Jun 2008): diff --git a/markdown.php b/markdown.php index d710a7b..dd1b9e5 100644 --- a/markdown.php +++ b/markdown.php @@ -1117,19 +1117,19 @@ class Markdown_Parser { var $em_relist = array( - '' => '(?:(? '(?<=\S)(? '(?<=\S)(? '(?:(? '(?<=\S|^)(? '(?<=\S|^)(? '(?:(? '(?<=\S)(? '(?<=\S)(? '(?:(? '(?<=\S|^)(? '(?<=\S|^)(? '(?:(? '(?<=\S)(? '(?<=\S)(? '(?:(? '(?<=\S|^)(? '(?<=\S|^)(?