Fixed html quoting in contenteditable title.
This commit is contained in:
parent
87bd535ad5
commit
7c996c72ca
1 changed files with 3 additions and 0 deletions
|
@ -335,6 +335,9 @@ class Index extends App.Controller
|
|||
.replace(/<.+?>/g, '')
|
||||
title = ('' + title)
|
||||
.replace(/ /g, ' ')
|
||||
.replace(/&/g, '&')
|
||||
.replace(/</g, '<')
|
||||
.replace(/>/g, '>')
|
||||
if title is '-'
|
||||
title = ''
|
||||
@ticket.title = title
|
||||
|
|
Loading…
Reference in a new issue