includes/functions.php
changeset 294 4ab30e8dd168
parent 276 acfdccf7a2bf
child 299 ce2873735506
equal deleted inserted replaced
293:3f98d4ba1e33 294:4ab30e8dd168
  2795 }
  2795 }
  2796 
  2796 
  2797 /**
  2797 /**
  2798  * Aggressively and hopefully non-destructively optimizes a blob of HTML.
  2798  * Aggressively and hopefully non-destructively optimizes a blob of HTML.
  2799  * @param string HTML to process
  2799  * @param string HTML to process
  2800  * @return string much snaller HTML
  2800  * @return string much smaller HTML
  2801  */
  2801  */
  2802 
  2802 
  2803 function aggressive_optimize_html($html)
  2803 function aggressive_optimize_html($html)
  2804 {
  2804 {
  2805   $size_before = strlen($html);
  2805   $size_before = strlen($html);