Contrary to similar sanitizers, sanitize-markdown drops the whole tree of descendants for elements that aren't allowed tags. If 'class' is listed as an allowed attribute, every single class will be ...