From: <var...@us...> - 2014-06-11 16:02:44
|
Revision: 8887 http://sourceforge.net/p/phpwiki/code/8887 Author: vargenau Date: 2014-06-11 16:02:40 +0000 (Wed, 11 Jun 2014) Log Message: ----------- Avoid backslash Modified Paths: -------------- trunk/lib/plugin/PhpHighlight.php Modified: trunk/lib/plugin/PhpHighlight.php =================================================================== --- trunk/lib/plugin/PhpHighlight.php 2014-06-11 16:01:40 UTC (rev 8886) +++ trunk/lib/plugin/PhpHighlight.php 2014-06-11 16:02:40 UTC (rev 8887) @@ -79,7 +79,7 @@ /* Remove empty span tags. */ foreach (array($string, $comment, $keyword, $bg, $default, $html) as $color) { - $search = "<span style=\"color: $color\"></span>"; + $search = '<span style="color: '.$color.'></span>'; $str = str_replace($search, '', $str); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |