View::minimize

Posted on November 25, 2016

Minimize HTML code before output.

Example usage

return View::minimize("<h1>Hello</h1>". "\n". "<span>Lolita Framework is fucking awesome</span>");
// <h1>Hello</h1><span>Lolita Framework is fucking awesome</span>

Parameters

$data (string) data to minimize.

Return Value

strin HTML code.

0 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *