Fix striptext() to remove comments and produce less whitespace