Document markup stripping