Changeset 2704
- Timestamp:
- 03/08/2016 11:07:39 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/common/includes/slack/trac/commit.php
r2703 r2704 65 65 66 66 static function format_commit_for_slack( Trac $trac, $message ) { 67 // Convert ASCII chars with a UTF-8 char, like ?\226?\128?\148 => — (m-dash).67 // Convert ASCII numbers to an UTF-8 character, like ?\226?\128?\148 => — (m-dash). 68 68 $message = preg_replace_callback( '/(?:\?\\\\(\d+))/', function( $matches ) { 69 69 return chr( $matches[1] );
Note: See TracChangeset
for help on using the changeset viewer.