Trim text to quote.
This commit is contained in:
parent
c04c1ee710
commit
e6eaad4316
1 changed files with 1 additions and 1 deletions
|
@ -307,7 +307,7 @@ class Index extends App.Controller
|
||||||
# add quoted text if needed
|
# add quoted text if needed
|
||||||
if window.Session['UISeletion']
|
if window.Session['UISeletion']
|
||||||
body = @el.find('[name="body"]').val() || ''
|
body = @el.find('[name="body"]').val() || ''
|
||||||
selection = window.Session['UISeletion']
|
selection = window.Session['UISeletion'].trim()
|
||||||
selection = selection.replace /^(.*)$/mg, (match) =>
|
selection = selection.replace /^(.*)$/mg, (match) =>
|
||||||
'> ' + match
|
'> ' + match
|
||||||
body = body + selection
|
body = body + selection
|
||||||
|
|
Loading…
Reference in a new issue