added allowed tags and attributes.