Tickets #1642 and #1633: Remove invalid characters from Twitter oembed response