categories should already be html encoded - ensure this is the case but don't double encode