Changeset 1760 for trunk/vendor/Text

Show
Ignore:
Timestamp:
06/19/07 20:20:33 (19 months ago)
Author:
jepso
Message:

- Few changes to documentation layout
- Added Sensei_Exception

Location:
trunk/vendor/Text/Wiki
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/vendor/Text/Wiki/Parse/Default/Code.php

    r1679 r1760  
    5252/*    var $regex = '/^(\<code( .+)?\>)\n(.+)\n(\<\/code\>)(\s|$)/Umsi';*/ 
    5353/*    var $regex = ';^<code(\s[^>]*)?>((?:(?R)|.)*?)\n</code>(\s|$);msi';*/ 
    54     var $regex = ';^<code(\s[^>]*)?>(.+?)\n</code>(\s|$);msi'; 
     54    var $regex = ';^<code(\s[^>]*)?>\n(.+?)\n</code>(\s|$);msi'; 
    5555     
    5656    /** 
  • trunk/vendor/Text/Wiki/Render/Xhtml/Code.php

    r1651 r1760  
    6464                // PHP code example: 
    6565                // add the PHP tags 
    66                 $text = "<?php \n"  
     66                $text = "<?php \n\n"  
    6767                      . $options['text'] . "\n\n" 
    6868                      . "?>";