override block rendering behaivor
added option to disable whitelist for testing