includes/functions.php
changeset 237 4ab30e8dd168
parent 222 acfdccf7a2bf
child 242 ce2873735506
equal deleted inserted replaced
236:3f98d4ba1e33 237: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);