set pastepreserve
set pastepreserve= { on | off}
This command controls the behavior of the paste command when the paste buffer contains tags or attributes which are not legal markup according to the target document's DTD. If this setting is off, such markup will be lost during a paste. If this setting is on, such markup will be preserved by inserting the non-legal tags and attributes as invalid markup.
The default value of pastepreserve is off.
Related Topics