We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d66e4d5 commit 558593cCopy full SHA for 558593c
reference/forms/types/options/escape_label.rst.inc
@@ -5,9 +5,8 @@ escape_label
5
.. versionadded:: 2.1
6
The ``escape_label`` option is new in Symfony 2.1.
7
8
-If set to false, the label's content won't be escaped. This option is useful when wanting to use HTML tags inside a label.
9
-
10
-.. code-block:: php
+If set to false, the label's content won't be escaped. This option is useful
+when wanting to use HTML tags inside a label::
11
12
$builder->add('acceptRules', 'checkbox', array(
13
'label' => '<strong>I accept the rules</strong>',
0 commit comments