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

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 f8319b94b607
......@@ -90,7 +90,7 @@ GitLab.GfmAutoComplete =
alias: 'milestones'
searchKey: 'search'
displayTpl: @Milestones.template
insertTpl: '${atwho-at}${title}'
insertTpl: '${atwho-at}"${title}"'
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