added wrapping tag to the current element