Skip to content

Commit 7869912

Browse files
committed
Fix page break sample code block
1 parent d8fbac6 commit 7869912

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/elements.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,9 +207,9 @@ Page breaks
207207
There are two ways to insert a page breaks, using the ``addPageBreak``
208208
method or using the ``pageBreakBefore`` style of paragraph.
209209

210-
:: code-block:: php
210+
.. code-block:: php
211211
212-
\\$section->addPageBreak();
212+
$section->addPageBreak();
213213
214214
Lists
215215
-----

0 commit comments

Comments
 (0)