Commit 0f925714 authored by Alejandro Rodríguez's avatar Alejandro Rodríguez

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
parent ec71edfe
......@@ -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) ->
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment