Added new case for breaklines
This commit is contained in:
parent
002370c70a
commit
11b8a51e27
@ -156,6 +156,7 @@ Template.tabButtons.helpers
|
|||||||
Template.message.helpers
|
Template.message.helpers
|
||||||
activateBreakLines: (str) ->
|
activateBreakLines: (str) ->
|
||||||
res = str.replace /\n/gim, '<br/>'
|
res = str.replace /\n/gim, '<br/>'
|
||||||
|
res = str.replace /\r/gim, '<br/>'
|
||||||
|
|
||||||
getHexColor: (c) ->
|
getHexColor: (c) ->
|
||||||
if parseInt(c).toString(16).length is 4
|
if parseInt(c).toString(16).length is 4
|
||||||
|
Loading…
Reference in New Issue
Block a user