Replaced native .trim() because IE8 is not supporting it.
This commit is contained in:
parent
6ee8429a9e
commit
acfd321d5a
1 changed files with 1 additions and 1 deletions
|
@ -440,7 +440,7 @@ class Article extends App.Controller
|
|||
# build html body
|
||||
# cleanup body
|
||||
# @article['html'] = @article.body.trim()
|
||||
@article['html'] = $.trim( @article.body.trim() )
|
||||
@article['html'] = $.trim( @article.body )
|
||||
@article['html'].replace( /\n\r/g, "\n" )
|
||||
@article['html'].replace( /\n\n\n/g, "\n\n" )
|
||||
|
||||
|
|
Loading…
Reference in a new issue