Update of /cvsroot/phpcvsview/phpcvsview/geshi
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28842/geshi
Modified Files:
geshi.php
Log Message:
Altered the code to enable correct displaying of line numbers in Internet Explorer.
Index: geshi.php
===================================================================
RCS file: /cvsroot/phpcvsview/phpcvsview/geshi/geshi.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** geshi.php 23 Jan 2005 00:54:06 -0000 1.3
--- geshi.php 26 Nov 2005 04:24:00 -0000 1.4
***************
*** 2030,2041 ****
$attributes = $this->get_attributes();
! if ( $this->use_classes )
! {
$ol_attributes = '';
! }
! else
! {
! $ol_attributes = ' style="margin: 0;"';
! }
if ( $this->line_numbers_start != 1 )
--- 2030,2041 ----
$attributes = $this->get_attributes();
! // if ( $this->use_classes )
! // {
$ol_attributes = '';
! // }
! // else
! // {
! // $ol_attributes = ' style="margin: 0;"';
! // }
if ( $this->line_numbers_start != 1 )
|