fixed #10885: code editor breaks JS comments
This commit is contained in:
parent
740066cebc
commit
e161afd5c0
2 changed files with 2 additions and 1 deletions
|
|
@ -38,6 +38,7 @@
|
||||||
- fixed #10953: SendNewsletters Activity: Invalid template variable
|
- fixed #10953: SendNewsletters Activity: Invalid template variable
|
||||||
- fixed #10913: User profiles: Impossible to delete field contents
|
- fixed #10913: User profiles: Impossible to delete field contents
|
||||||
- fixed #10929: EMS Ticket Start Date Sort
|
- fixed #10929: EMS Ticket Start Date Sort
|
||||||
|
- fixed #10885: Code Editor breaks Javascript comments
|
||||||
|
|
||||||
7.7.19
|
7.7.19
|
||||||
- fixed #10838: Forwarded forum post email to new CS adds reply to original thread
|
- fixed #10838: Forwarded forum post email to new CS adds reply to original thread
|
||||||
|
|
|
||||||
|
|
@ -161,7 +161,7 @@
|
||||||
html = html.replace(/ ?<br>/gi,'\n');
|
html = html.replace(/ ?<br>/gi,'\n');
|
||||||
html = html.replace(/<[^>]+>/g,'');
|
html = html.replace(/<[^>]+>/g,'');
|
||||||
// Remove spaces at end of lines
|
// Remove spaces at end of lines
|
||||||
html = html.replace(/ +\r?\n/g,"");
|
html = html.replace(/ +(\r?)\n/g,"$1\n");
|
||||||
return html;
|
return html;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue