fix for slisson/mps-richtext#28 (Copying text looses white spaces)