Improved formatting of text messages.
This commit is contained in:
parent
76adce246a
commit
c7c565425a
1 changed files with 2 additions and 1 deletions
|
@ -1518,7 +1518,8 @@ class Article extends App.Controller
|
|||
# @article['html'] = @article.body.trim()
|
||||
@article['html'] = $.trim( @article.body )
|
||||
@article['html'].replace( /\n\r/g, "\n" )
|
||||
@article['html'].replace( /\n\n\n/g, "\n\n" )
|
||||
@article['html'].replace( /\r/g, "\n" )
|
||||
@article['html'].replace( /\n\n/g, "\n" )
|
||||
|
||||
# if body has more then x lines / else search for signature
|
||||
preview = 10
|
||||
|
|
Loading…
Reference in a new issue