remove outside markup