My bad, I overlooked `elgg_format_attributes`. As @mrclay prefers no filtering, then using it directly would work, which makes that function useless.