Changeset 3264
- Timestamp:
- 05/27/2016 10:26:03 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/common/includes/slack/trac/trac.php
r3096 r3264 288 288 static function format_for_slack( $text ) { 289 289 $text = str_replace( "\r\n", "\n", $text ); 290 $text = preg_replace( "~^{{{\n?#!([\w+-/]+)$~m", '{{{' , $text ); // {{{#!php 290 291 $text = trim( str_replace( 291 292 array( "\n{{{\n", "\n}}}\n", '{{{', '}}}' ),
Note: See TracChangeset
for help on using the changeset viewer.