Replace p tag with two line breaks in ZU.cleanTags (#1465)
This commit is contained in:
parent
a659c6c6ff
commit
0bb2bdcbe3
|
@ -299,6 +299,7 @@ Zotero.Utilities = {
|
||||||
}
|
}
|
||||||
|
|
||||||
x = x.replace(/<br[^>]*>/gi, "\n");
|
x = x.replace(/<br[^>]*>/gi, "\n");
|
||||||
|
x = x.replace(/<\/p>/gi, "\n\n");
|
||||||
return x.replace(/<[^>]+>/g, "");
|
return x.replace(/<[^>]+>/g, "");
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user