Added HTML escaping for title and content