Can you open a ticket for this issue?

Thanks,
Fabien

--
Fabien Potencier
Sensio CEO - Symfony lead developer
sensiolabs.com | symfony.com | fabien.potencier.org
Tél: +33 1 40 99 80 80

On 6/3/11 2:31 PM, ryan weaver wrote:
Hey guys-

I don't know if this is a bug or a behavior change (in either case, some
changes will need to be made - which I can help with). Currently, nested
formatting inside commands does not work:

     $output->writeln('<comment>foo bar<info>77</info>baz</comment>');

The <comment> block is correctly parsed and formatted, but the nested
<info> block prints out literally and applies no styling. This wasn't
the case at some point in the passed, and as such - there are several
tasks that still contain code like this. You can find an example in the
wild here:

https://github.com/symfony/symfony/blob/master/src/Symfony/Bundle/DoctrineBundle/Command/CreateDatabaseDoctrineCommand.php#L60

Personally, I like allowing the nested behavior - it's not strictly
needed to accomplish the goal, but it's cleaner than having more start
and end formatting tags.

So, which is the desired behavior?

Thanks!

Ryan Weaver
US Office Head & Trainer - KnpLabs - Nashville, TN
http://www.knplabs.com <http://www.knplabs.com/en>
http://www.thatsquality.com
Twitter: @weaverryan

--
If you want to report a vulnerability issue on symfony, please send it
to security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

--
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to