includes/functions.php
changeset 299 ce2873735506
parent 298 39c132e69781
parent 294 4ab30e8dd168
child 304 e2cb5f1432c8
child 311 a007145a0ff6
equal deleted inserted replaced
298:39c132e69781 299:ce2873735506
  2707 }
  2707 }
  2708 
  2708 
  2709 /**
  2709 /**
  2710  * Aggressively and hopefully non-destructively optimizes a blob of HTML.
  2710  * Aggressively and hopefully non-destructively optimizes a blob of HTML.
  2711  * @param string HTML to process
  2711  * @param string HTML to process
  2712  * @return string much snaller HTML
  2712  * @return string much smaller HTML
  2713  */
  2713  */
  2714 
  2714 
  2715 function aggressive_optimize_html($html)
  2715 function aggressive_optimize_html($html)
  2716 {
  2716 {
  2717   $size_before = strlen($html);
  2717   $size_before = strlen($html);