Making colouring wrap lines.

This commit is contained in:
mark_story 2010-10-16 00:04:58 -04:00
parent 46dcf8b036
commit 02f42f3454

View file

@ -163,7 +163,7 @@ class ConsoleOutput {
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
);
}