Protects against crappy markup.