Косметические правки по разметке - длинное тире

This commit is contained in:
Krivchikov Dmitry 2015-09-11 14:00:48 +03:00
parent 450196b1c6
commit d1e6b21af5
2 changed files with 2 additions and 2 deletions

View File

@ -94,7 +94,7 @@ class Markdown
$string = preg_replace($pr, $rep, $string); $string = preg_replace($pr, $rep, $string);
// \n & \r // \n & \r
$string = str_replace(array("\n","\r"), ' ', $string); $string = str_replace(array("\n","\r",' -- '), array(' ', ' ',' – '), $string);
// multi-space // multi-space
$pr = '(\s{2,})'; $pr = '(\s{2,})';