includes/functions.php
changeset 378 c1c7fa6b329f
parent 377 bb3e6c3bd4f4
child 381 b4751b55ee92
equal deleted inserted replaced
377:bb3e6c3bd4f4 378:c1c7fa6b329f
  1908     $html = str_replace_once("{TW_CODE:$i:$rand_seed}", $code, $html);
  1908     $html = str_replace_once("{TW_CODE:$i:$rand_seed}", $code, $html);
  1909     $i++;
  1909     $i++;
  1910   }
  1910   }
  1911 
  1911 
  1912   return $html;
  1912   return $html;
  1913 
       
  1914 }
  1913 }
  1915 
  1914 
  1916 /**
  1915 /**
  1917  * Using the same parsing code as sanitize_html(), this function adds <litewiki> tags around certain block-level elements
  1916  * Using the same parsing code as sanitize_html(), this function adds <litewiki> tags around certain block-level elements
  1918  * @param string $html The input HTML
  1917  * @param string $html The input HTML