wrap pasted text in p elements