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?
------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief surveys
-- and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
geshi-cvs mailing list
geshi-cvs lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geshi-cvs
|