Strip and rewrite meta tags