JavaScript Zastąp tagi P nową linią
str = str.replace(/<p>(.*)<\/p>/g, "$1\n");
Friendly Hawk
str = str.replace(/<p>(.*)<\/p>/g, "$1\n");