Skip to content

Commit

Permalink
Making colouring wrap lines.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Oct 16, 2010
1 parent 46dcf8b commit 02f42f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cake/console/console_output.php
Expand Up @@ -163,7 +163,7 @@ public function styleText($text) {
return strip_tags($text);
}
return preg_replace_callback(
'/<(?<tag>[a-z0-9-_]+)>(?<text>.*?)<\/(\1)>/i', array($this, '_replaceTags'), $text
'/<(?<tag>[a-z0-9-_]+)>(?<text>.*?)<\/(\1)>/ims', array($this, '_replaceTags'), $text
);
}

Expand Down

0 comments on commit 02f42f3

Please sign in to comment.