diff --git a/PHP Markdown Extra Readme.text b/PHP Markdown Extra Readme.text index a1309b6a..46e348c6 100644 --- a/PHP Markdown Extra Readme.text +++ b/PHP Markdown Extra Readme.text @@ -249,6 +249,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. + Current Extra: diff --git a/markdown.php b/markdown.php index 19dc08c0..0efd20f3 100644 --- a/markdown.php +++ b/markdown.php @@ -1141,19 +1141,19 @@ function makeCodeSpan($code) { var $em_relist = array( - '' => '(?:(? '(?<=\S)(? '(?<=\S)(? '(?:(? '(?<=\S|^)(? '(?<=\S|^)(? '(?:(? '(?<=\S)(? '(?<=\S)(? '(?:(? '(?<=\S|^)(? '(?<=\S|^)(? '(?:(? '(?<=\S)(? '(?<=\S)(? '(?:(? '(?<=\S|^)(? '(?<=\S|^)(?