Replace p tag with two line breaks in ZU.cleanTags (#1465)

This commit is contained in:
Philipp Zumstein 2018-03-19 07:35:49 +01:00 committed by Dan Stillman
parent a659c6c6ff
commit 0bb2bdcbe3

View file

@ -299,6 +299,7 @@ Zotero.Utilities = {
}
x = x.replace(/<br[^>]*>/gi, "\n");
x = x.replace(/<\/p>/gi, "\n\n");
return x.replace(/<[^>]+>/g, "");
},