XSS sanitizing function
Fix XSS sanitizing in RainTPL
Fix content-type checking for feeds