diff options
author | Douwe Maan <douwe@gitlab.com> | 2016-01-07 15:37:14 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2016-01-07 15:37:14 +0300 |
commit | 1886d727f738895bb552151d59d4024f405522e2 (patch) | |
tree | 684b1abde7d7951456a8bb0956867a953971f5eb /lib/gitlab/fogbugz_import | |
parent | 09216e8bbdd82e46705888aba13405a2fd191100 (diff) |
Add API project upload endpoint
Diffstat (limited to 'lib/gitlab/fogbugz_import')
-rw-r--r-- | lib/gitlab/fogbugz_import/importer.rb | 4 |
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) |