Set whether rendered output should have leading/trailing whitespace trimmed
By default whitespace is trimmed so you would call $templateFile->setTrim(false);
to disable.
Available since version 3.0.154.
Usage
$templateFile->setTrim(bool $trim);
Arguments
Name | Type(s) | Description |
---|---|---|
trim | bool |
TemplateFile methods and properties
API reference based on ProcessWire core version 3.0.244