Skip to content

Commit a798c0e

Browse files
Minor reword
1 parent 3e65874 commit a798c0e

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

console/coloring.rst

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,9 @@ You can also set these colors and options directly inside the tagname::
6767

6868
.. note::
6969

70-
If you need to render a tag literally, you must escape it with a backslash: ``\<info>``.
71-
You can use :method:`OutputFormatter::escape() <Symfony\\Component\\Console\\Formatter\\OutputFormatter::escape>`
72-
to escape all tags of a given text.
73-
74-
If you need to render a literal backslash before a tag, replace it with ``<<``.
70+
If you need to render a tag literally, escape it with a backslash: ``\<info>``
71+
or use the :method:`Symfony\\Component\\Console\\Formatter\\OutputFormatter::escape`
72+
method to escape all the tags included in the given string.
7573

7674
.. _Cmder: http://cmder.net/
7775
.. _ConEmu: https://conemu.github.io/

0 commit comments

Comments
 (0)