Merge branch '34430-fix-double-escape-comment-edit' into 'master'
Remove unnecessary call to `_.escape` Closes #34430 See merge request !12505
This commit is contained in:
commit
41320cb8a0
1 changed files with 1 additions and 1 deletions
|
@ -1485,7 +1485,7 @@ export default class Notes {
|
|||
const cachedNoteBodyText = $noteBodyText.html();
|
||||
|
||||
// Show updated comment content temporarily
|
||||
$noteBodyText.html(_.escape(formContent));
|
||||
$noteBodyText.html(formContent);
|
||||
$editingNote.removeClass('is-editing fade-in-full').addClass('being-posted fade-in-half');
|
||||
$editingNote.find('.note-headline-meta a').html('<i class="fa fa-spinner fa-spin" aria-label="Comment is being updated" aria-hidden="true"></i>');
|
||||
|
||||
|
|
Loading…
Reference in a new issue