Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tatuya Kamada
gitlab-ce
Commits
c6acc7ed
Commit
c6acc7ed
authored
Nov 29, 2016
by
Andre Guedes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Render SVG as images in notes
parent
50a78448
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
app/uploaders/uploader_helper.rb
app/uploaders/uploader_helper.rb
+1
-1
changelogs/unreleased/render-svg-in-diffs-and-notes.yml
changelogs/unreleased/render-svg-in-diffs-and-notes.yml
+4
-0
No files found.
app/uploaders/uploader_helper.rb
View file @
c6acc7ed
# Extra methods for uploader
# Extra methods for uploader
module
UploaderHelper
module
UploaderHelper
IMAGE_EXT
=
%w[png jpg jpeg gif bmp tiff]
IMAGE_EXT
=
%w[png jpg jpeg gif bmp tiff
svg
]
# We recommend using the .mp4 format over .mov. Videos in .mov format can
# We recommend using the .mp4 format over .mov. Videos in .mov format can
# still be used but you really need to make sure they are served with the
# still be used but you really need to make sure they are served with the
# proper MIME type video/mp4 and not video/quicktime or your videos won't play
# proper MIME type video/mp4 and not video/quicktime or your videos won't play
...
...
changelogs/unreleased/render-svg-in-diffs-and-notes.yml
0 → 100644
View file @
c6acc7ed
---
title
:
Render SVG images in diffs and notes
merge_request
:
7747
author
:
andrebsguedes
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment