mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-26 20:54:21 +01:00
fix bug: check text is exist in breakFilter
This commit is contained in:
parent
91f4694175
commit
503e8fc95f
@ -103,7 +103,7 @@ Application.Filters.filter "humanize", [ ->
|
||||
##
|
||||
Application.Filters.filter "breakFilter", [ ->
|
||||
(text) ->
|
||||
if text != undefined
|
||||
if text?
|
||||
text.replace(/\n+/g, '<br />')
|
||||
]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user