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