Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Console] Escape exception message during the rendering of an exception
- Loading branch information
Showing
5 changed files
with
54 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 16 additions & 8 deletions
24
src/Symfony/Component/Console/Tests/Fixtures/application_renderexception3.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
src/Symfony/Component/Console/Tests/Fixtures/application_renderexception3decorated.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
|
||
|
||
[37;41m [0m | ||
[37;41m [Exception] [0m | ||
[37;41m Third exception <fg=blue;bg=red>comment</> [0m | ||
[37;41m [0m | ||
|
||
|
||
|
||
|
||
[37;41m [0m | ||
[37;41m [Exception] [0m | ||
[37;41m Second exception <comment>comment<comment> [0m | ||
[37;41m [0m | ||
|
||
|
||
|
||
|
||
[37;41m [0m | ||
[37;41m [Exception] [0m | ||
[37;41m First exception <p>this is html</p> [0m | ||
[37;41m [0m | ||
|
||
|
||
[32mfoo3:bar[0m | ||
|
||
|