Fix tag closing for audio and video tags.