diem-project / diem

Diem CMF CMS for symfony 1.4
http://diem-project.org/
MIT License
184 stars 85 forks source link

Warning in markdown.php doList function #422

Closed gries closed 9 years ago

gries commented 12 years ago

Hi, I get a PHP warning when using Diem. My PHP-Version is 5.3.8

Warning: preg_replace_callback(): Compilation failed: POSIX collating elements are not supported at offset 177 in 
/home/www/project/lib/vendor/diem/dmCorePlugin/lib/markdown/vendor/markdown.php on line 836

The problem is located on line 788:

<?php
$marker_ol_re  = '\d+[.]';

a fix would be:

<?php
$marker_ol_re  = '\d+[\.]';

The problem seems to be fixed in the new Version of php-markdown. https://github.com/michelf/php-markdown/blob/master/markdown.php

eXtreme commented 12 years ago

right, will update markdown parser probably

TheCelavi commented 11 years ago

Ok, someone pls do so we can close this one.

TheCelavi commented 11 years ago

@eXtreme @gries - guys, someone push that fix please. Thx!