summaryrefslogtreecommitdiff
path: root/app/models/label.rb
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-07-12 18:33:37 -0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-07-13 11:42:31 -0300
commitc88075f46772d3c462969372fafbd7f3886872b8 (patch)
tree5dd2d2027d3d9d69dafa196bf6978b120bb8013f /app/models/label.rb
parent4be505bfd177755103d74ca4874086853a32449a (diff)
downloadgitlab-ce-c88075f46772d3c462969372fafbd7f3886872b8.tar.gz
Fix markdown rendering for consecutive label references
Diffstat (limited to 'app/models/label.rb')
-rw-r--r--app/models/label.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/label.rb b/app/models/label.rb
index dc5586f5756..60c0fff44ce 100644
--- a/app/models/label.rb
+++ b/app/models/label.rb
@@ -59,7 +59,7 @@ class Label < ActiveRecord::Base
(?<label_id>\d+) | # Integer-based label ID, or
(?<label_name>
[A-Za-z0-9_\-\?&]+ | # String-based single-word label title, or
- "[^,]+" # String-based multi-word label surrounded in quotes
+ "([^"]*)" # String-based multi-word label surrounded in quotes
)
)
}x