Updating filter to strip out all custom formatting tags and check for a flag to disable