Inserting the Milestone title between quotes on GFM auto complete

This is due to the fact that for multiple word titles it might be
an invalid reference without the quotes
This commit is contained in:
Alejandro Rodríguez 2016-04-06 20:35:02 -03:00
parent ec71edfedd
commit 0f925714d0

View file

@ -90,7 +90,7 @@ GitLab.GfmAutoComplete =
alias: 'milestones'
searchKey: 'search'
displayTpl: @Milestones.template
insertTpl: '${atwho-at}${title}'
insertTpl: '${atwho-at}"${title}"'
callbacks:
beforeSave: (milestones) ->
$.map milestones, (m) ->