From: Nigel M. <ora...@us...> - 2006-08-07 11:06:46
|
Update of /cvsroot/geshi/geshi-1.0.X/src In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv13317 Modified Files: Tag: RELEASE_1_0_7_STABLE geshi.php Log Message: Fixed extra newline being added to end of source (Andreas Gohr) Index: geshi.php =================================================================== RCS file: /cvsroot/geshi/geshi-1.0.X/src/geshi.php,v retrieving revision 1.40.2.6 retrieving revision 1.40.2.7 diff -C2 -d -r1.40.2.6 -r1.40.2.7 *** geshi.php 30 Jul 2006 06:43:39 -0000 1.40.2.6 --- geshi.php 7 Aug 2006 11:06:41 -0000 1.40.2.7 *************** *** 1809,1813 **** // Lop off the very first and last spaces ! $result = substr($result, 1, strlen($result) - 1); // Are we still in a string? --- 1809,1813 ---- // Lop off the very first and last spaces ! $result = substr($result, 1, -1); // Are we still in a string? |