From 1f88a28d54e006bd4090bfb3bb7a31bef4e57cf3 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Tue, 17 Sep 2013 14:15:59 +0200 Subject: [PATCH] [Console] added some more information about OutputFormatter::replaceStyle() --- src/Symfony/Component/Console/Formatter/OutputFormatter.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Symfony/Component/Console/Formatter/OutputFormatter.php b/src/Symfony/Component/Console/Formatter/OutputFormatter.php index 01904ccb48..36721601ed 100644 --- a/src/Symfony/Component/Console/Formatter/OutputFormatter.php +++ b/src/Symfony/Component/Console/Formatter/OutputFormatter.php @@ -163,6 +163,8 @@ class OutputFormatter implements OutputFormatterInterface /** * Replaces style of the output. * + * All escaped tags and tags that reference unknown styles are kept as is. + * * @param array $match * * @return string The replaced style