An API for checking if some HTML would be affected by restricted cleaning should be added. This can be used to determine if turning on restricted cleaning might break content.