justifyB4br
(mPDF ≥ 4.4)
justifyB4br – Specify whether to justify line of text before a linebreak
Description
voidjustifyB4br
Specify whether to justify line of text before a linebreak. This only makes a difference when the text-alignment of thecurrent block is set astext-align: justify.
In a justified text block, a<br> linebreak will not cause the preceding line to be justified. This behaviour matchesmost browsers. However, to allow optional compliance with the behaviour of MS Word, which also justifies text beforea<br> you can set this variable totrue.
Values
$justifyB4br = true|false
Values
true: justify line of text beofre a linebreakfalse: do not justify line of text before a linebreak
Default:false
Changelog