includes/functions.php
changeset 242 ce2873735506
parent 241 39c132e69781
parent 237 4ab30e8dd168
child 252 a007145a0ff6
equal deleted inserted replaced
241:39c132e69781 242: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);