cvs: peardoc / colorize.php

From: Date: Sat, 29 Dec 2007 22:17:16 +0000
Subject: cvs: peardoc / colorize.php
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-10288@lists.php.net to get a copy of this message
wiesemann Sat Dec 29 22:17:16 2007 UTC Modified files: /peardoc colorize.php Log: - the regexp needs to stay in uppercase, only the output may be in lowercase http://cvs.php.net/viewvc.cgi/peardoc/colorize.php?r1=1.3&r2=1.4&diff_format=u Index: peardoc/colorize.php diff -u peardoc/colorize.php:1.3 peardoc/colorize.php:1.4 --- peardoc/colorize.php:1.3 Sat Dec 29 22:12:12 2007 +++ peardoc/colorize.php Sat Dec 29 22:17:16 2007 @@ -18,7 +18,7 @@ // | Martin Jansen <mj@php.net> | // +----------------------------------------------------------------------+ // -// $Id: colorize.php,v 1.3 2007/12/29 22:12:12 wiesemann Exp $ +// $Id: colorize.php,v 1.4 2007/12/29 22:17:16 wiesemann Exp $ // /** @@ -132,7 +132,7 @@ $content = join("", file($htmldir . "/" . $filename)); $content = preg_replace_callback( - "!<pre\s+class=\"php\"\s+>(.+)</pre!Us", + "!<PRE\s+CLASS=\"php\"\s+>(.+)</PRE!Us", "format", $content );

« previous php.pear.doc (#10288) next »