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:
authorHannes Rosenögger <123haynes@gmail.com>2015-03-04 14:58:40 +0300
committerHannes Rosenögger <123haynes@gmail.com>2015-03-12 11:26:06 +0300
commit3c7e0f45c2d9c242bf45d153bb73e96ce7525a06 (patch)
treea905c2a07656dcb1e287b4bdf47b3b118bc36017 /app/views/notify/new_issue_email.html.haml
parent3f823068e1f6e3e88d6631de60d9aaf9ecd5e6f9 (diff)
replace images in emails with inline images
This adds the functionality of replacing all images that were uploaded to gitlab with inline images(base64) in emails. This change fixes the broken images in emails that 7.8 introduced
Diffstat (limited to 'app/views/notify/new_issue_email.html.haml')
-rw-r--r--app/views/notify/new_issue_email.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/notify/new_issue_email.html.haml b/app/views/notify/new_issue_email.html.haml
index f2f8eee18c4..03cbee94608 100644
--- a/app/views/notify/new_issue_email.html.haml
+++ b/app/views/notify/new_issue_email.html.haml
@@ -1,5 +1,5 @@
-if @issue.description
- = markdown(@issue.description)
+ = replace_image_links_with_base64(markdown(@issue.description), @issue.project)
- if @issue.assignee_id.present?
%p