keep  a[href="https://example.com/a"]
keep  a[href="http://example.com/a"]
keep  a[href="mailto:someone@example.com"]
keep  a[href="tel:+84123456789"]
keep  a[href="sms:+84123456789"]
drop  a[href="cid:image-1"]
drop  a[href="data:image/png;base64,iVBORw0KGgo="]
drop  a[href="data:image/svg+xml;base64,PHN2Zz48L3N2Zz4="]
drop  a[href="data:text/html;base64,PHNjcmlwdD5hbGVydCgxKTwvc2NyaXB0Pg=="]
drop  a[href="javascript:alert(1)"]
drop  a[href="JaVaScRiPt:alert(1)"]
drop  a[href=" javascript:alert(1)"]
drop  a[href="java&#x09;script:alert(1)"]
drop  a[href="vbscript:msgbox(1)"]
drop  a[href="file:///etc/passwd"]
drop  a[href="ftp://example.com/f"]
drop  a[href="blob:https://example.com/1"]
drop  a[href="about:blank"]
drop  a[href="intent://example#Intent;end"]
drop  a[href="//example.com/a"]
keep  a[href="/relative/path"]
keep  a[href="relative.html"]
keep  a[href="#anchor"]
keep  img[src="https://example.com/a"]
keep  img[src="http://example.com/a"]
drop  img[src="mailto:someone@example.com"]
drop  img[src="tel:+84123456789"]
drop  img[src="sms:+84123456789"]
keep  img[src="cid:image-1"]
keep  img[src="data:image/png;base64,iVBORw0KGgo="]
drop  img[src="data:image/svg+xml;base64,PHN2Zz48L3N2Zz4="]
drop  img[src="data:text/html;base64,PHNjcmlwdD5hbGVydCgxKTwvc2NyaXB0Pg=="]
drop  img[src="javascript:alert(1)"]
drop  img[src="JaVaScRiPt:alert(1)"]
drop  img[src=" javascript:alert(1)"]
drop  img[src="java&#x09;script:alert(1)"]
drop  img[src="vbscript:msgbox(1)"]
drop  img[src="file:///etc/passwd"]
drop  img[src="ftp://example.com/f"]
drop  img[src="blob:https://example.com/1"]
drop  img[src="about:blank"]
drop  img[src="intent://example#Intent;end"]
drop  img[src="//example.com/a"]
keep  img[src="/relative/path"]
keep  img[src="relative.html"]
keep  img[src="#anchor"]
