phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: wiki/parse transforms.php,1.3,1.4


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: wiki/parse transforms.php,1.3,1.4
Date: Wed, 02 Jul 2003 18:16:37 -0400

Update of /cvsroot/phpgroupware/wiki/parse
In directory subversions:/tmp/cvs-serv29840/wiki/parse

Modified Files:
        transforms.php 
Log Message:
css fix agains scripts in <html> ... </html>

Index: transforms.php
===================================================================
RCS file: /cvsroot/phpgroupware/wiki/parse/transforms.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** transforms.php      3 Mar 2003 14:16:24 -0000       1.3
--- transforms.php      2 Jul 2003 22:16:34 -0000       1.4
***************
*** 1,624 ****
! <?php
! // $Id$
! 
! // The main parser components.  Each of these takes a line of text and scans 
it
! //   for particular wiki markup.  It converts markup elements to
! //   $FlgChr . x . $FlgChr, where x is an index into the global array $Entity,
! //   which contains descriptions of each markup entity.  Later, these will be
! //   converted back into HTML  (or, in the future, perhaps some other
! //   representation such as XML).
! 
[...1219 lines suppressed...]
!                          $text, -1);
!     $text = preg_replace('/((\|\|)+)/e',
!                          
"new_entity(array('raw',html_table_cell_end().html_table_cell_start(strlen('\\1')/2)))",
!                          $text, -1);
!   }
!   else if($in_table)                    // Have exited table.
!   {
!     $in_table = 0;
!     $pre = html_table_end();
!   }
! 
!   if($pre != '')
!     { $text = new_entity(array('raw', $pre)) . $text; }
!   if($post != '')
!     { $text = $text . new_entity(array('raw', $post)); }
! 
!   return $text;
! }
! 
! ?>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]