Adds basic flag functionality, fixing images and content with HTML entities