Remove trailing slashes when optional.

Because why should only <meta charset> have all the fun?