Alle Codes innerhalb eines div-Tags auf die Whitelist setzen?

That could be dangerous. What exactly are you trying to achieve?