Skip to content

Commit 439f013

Browse files
committed
Merge pull request #386 from PHPOffice/revert-385-patch-1
Revert "Fix page break sample code block"
2 parents d39ba21 + 57c3235 commit 439f013

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)