Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2016-01-07 15:37:14 +0300
committerDouwe Maan <douwe@gitlab.com>2016-01-07 15:37:14 +0300
commit1886d727f738895bb552151d59d4024f405522e2 (patch)
tree684b1abde7d7951456a8bb0956867a953971f5eb /lib/gitlab/fogbugz_import
parent09216e8bbdd82e46705888aba13405a2fd191100 (diff)
Add API project upload endpoint
Diffstat (limited to 'lib/gitlab/fogbugz_import')
-rw-r--r--lib/gitlab/fogbugz_import/importer.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/gitlab/fogbugz_import/importer.rb b/lib/gitlab/fogbugz_import/importer.rb
index 403ebeec474..d5f755f90e5 100644
--- a/lib/gitlab/fogbugz_import/importer.rb
+++ b/lib/gitlab/fogbugz_import/importer.rb
@@ -232,9 +232,7 @@ module Gitlab
return nil if res.nil?
- text = "[#{res['alt']}](#{res['url']})"
- text = "!#{text}" if res['is_image']
- text
+ text = res['markdown']
end
def build_attachment_url(rel_url)