Don't double-HTML-encode plaintext when converting to HTML (e.g., when using browser pane context menu option to create Zotero note)
This commit is contained in:
parent
ab9ae36135
commit
64d603e646
1 changed files with 0 additions and 1 deletions
|
@ -164,7 +164,6 @@ Zotero.Utilities = {
|
|||
}
|
||||
// \n\n => <p>, \n => <br/>
|
||||
else {
|
||||
str = Zotero.Utilities.htmlSpecialChars(str);
|
||||
str = '<p>'
|
||||
+ str.replace(/\n\n/g, '</p><p>')
|
||||
.replace(/\n/g, '<br/>')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue