iliaa           Fri Jun 17 22:16:07 2005 EDT

  Modified files:              
    /livedocs   style_mapping.php 
  Log:
  Fixed bug #33390
  
  
http://cvs.php.net/diff.php/livedocs/style_mapping.php?r1=1.25&r2=1.26&ty=u
Index: livedocs/style_mapping.php
diff -u livedocs/style_mapping.php:1.25 livedocs/style_mapping.php:1.26
--- livedocs/style_mapping.php:1.25     Wed Feb  9 17:37:51 2005
+++ livedocs/style_mapping.php  Fri Jun 17 22:16:06 2005
@@ -18,7 +18,7 @@
 // | Helper functions for formatting elements                             |
 // +----------------------------------------------------------------------+
 //
-// $Id: style_mapping.php,v 1.25 2005/02/09 22:37:51 iliaa Exp $
+// $Id: style_mapping.php,v 1.26 2005/06/18 02:16:06 iliaa Exp $
 
 // almost XPATH.. ;-)
 $map = array(
@@ -346,7 +346,7 @@
                        $content = highlight_php_code($content);
                        break;
                case 'note':
-                       $content = 
preg_replace_callback('!(\<(\?|\?php).+\?\>)!msU', 'highlight_php_code', 
$content);
+                       $content = 
preg_replace_callback('!(\<(\?|\?php).+?\?\>)!msU', 'highlight_php_code', 
$content);
                        $node->attributes['role'] = 'php';
                        break;
 

Reply via email to