mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-22 09:22:22 +00:00
Dokument Studienordnung
This commit is contained in:
@@ -885,16 +885,23 @@ function decryptData($value,$key)
|
||||
|
||||
function clearHtmlTags($text)
|
||||
{
|
||||
$newline='
|
||||
';
|
||||
|
||||
$text=mb_str_replace('<br>','\n',$text);
|
||||
$text=mb_str_replace('<br/>','\n',$text);
|
||||
$text=mb_str_replace('<br />','\n',$text);
|
||||
|
||||
$text=mb_str_replace('<ul>\n','',$text);
|
||||
$text=mb_str_replace('<ul>','',$text);
|
||||
$text=mb_str_replace('\n</ul>','',$text);
|
||||
$text=mb_str_replace('</ul>','',$text);
|
||||
$text=mb_str_replace('<li>','\n - ',$text);
|
||||
$text=mb_str_replace('<li>',$newline.' - ',$text);
|
||||
$text=mb_str_replace('</li>','',$text);
|
||||
|
||||
$text=mb_str_replace('</lI>','',$text);
|
||||
$text=mb_str_replace('</li','',$text);
|
||||
|
||||
return $text;
|
||||
}
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user