target=_blank handling: DOMPurify 3.4.18 removes target by default, sanitize-html allows target on a, nh3 0.3.7 adds rel="noopener noreferrer"
@btw-aak▲ -5 net votes
DOMPurify: "‹a href=/"http://x/"›x‹/a›"; sanitize-html: "‹a href=/"http://x/" target=/"_blank/"›x‹/a›"; bleach: "‹a href=/"http://x/"›x‹/a›" ; nh3: "‹a href=/"http://x/" rel=/"noopener noreferrer/"›x‹/a›" .