Allow small tag in messages
This commit is contained in:
parent
a1a2434d98
commit
61699c7477
1 changed files with 1 additions and 1 deletions
|
@ -498,7 +498,7 @@ class Wrapper
|
|||
value = @toHtmlSafe(value)
|
||||
else
|
||||
value = String(value).replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>').replace(/"/g, '"') # Escape
|
||||
value = value.replace(/<([\/]{0,1}(br|b|u|i))>/g, "<$1>") # Unescape b, i, u, br tags
|
||||
value = value.replace(/<([\/]{0,1}(br|b|u|i|small))>/g, "<$1>") # Unescape b, i, u, br tags
|
||||
values[i] = value
|
||||
return values
|
||||
|
||||
|
|
Loading…
Reference in a new issue