Skip to content

Commit 558593c

Browse files
committed
[reference][forms] Tiny markup tweaks for #1442
1 parent d66e4d5 commit 558593c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

reference/forms/types/options/escape_label.rst.inc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@ escape_label
55
.. versionadded:: 2.1
66
The ``escape_label`` option is new in Symfony 2.1.
77

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
8+
If set to false, the label's content won't be escaped. This option is useful
9+
when wanting to use HTML tags inside a label::
1110

1211
$builder->add('acceptRules', 'checkbox', array(
1312
'label' => '<strong>I accept the rules</strong>',

0 commit comments

Comments
 (0)