Only recognize actual <foo> types, not things like <img src=''>.
Strip whitespace from the ends of metadata lines.