wrap key in <span>