xss filter

Hi guys, 
below my changes to filter strings for html output.
Regards,
Sven