Changeset 1760 for trunk/vendor/Text
- Timestamp:
- 06/19/07 20:20:33 (19 months ago)
- Location:
- trunk/vendor/Text/Wiki
- Files:
-
- 2 modified
-
Parse/Default/Code.php (modified) (1 diff)
-
Render/Xhtml/Code.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/vendor/Text/Wiki/Parse/Default/Code.php
r1679 r1760 52 52 /* var $regex = '/^(\<code( .+)?\>)\n(.+)\n(\<\/code\>)(\s|$)/Umsi';*/ 53 53 /* 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'; 55 55 56 56 /** -
trunk/vendor/Text/Wiki/Render/Xhtml/Code.php
r1651 r1760 64 64 // PHP code example: 65 65 // add the PHP tags 66 $text = "<?php \n "66 $text = "<?php \n\n" 67 67 . $options['text'] . "\n\n" 68 68 . "?>";