add span and hr to the whitelist