Rewrite codes for striping HTML tags from text.