ThinkPHP/Library/Vendor/Smarty/pluginsoutputfilter.trimwhitespace.php

Smarty plugin

Functions

smarty_outputfilter_trimwhitespace()

smarty_outputfilter_trimwhitespace(string  $source, \Smarty_Internal_Template  $smarty) : string

Smarty trimwhitespace outputfilter plugin

Trim unnecessary whitespace from HTML markup.

Parameters

string $source

input string

\Smarty_Internal_Template $smarty

Smarty object

Returns

string —

filtered output