Skip to content

WIP: Add SVG to supported images

Stan Hu requested to merge stanhu/gitlab-ce:add-svg-support into master

SVG images would be displayed as text rather than vector images. This requires a new release of linguist that can detect SVG. The current one detects SVG files as XML.

Upgrading rugged to 0.23.3 tasks

  • Bump gitlab_git to github-linguist
  • Release gitlab_git
  • Implement SVG sanitizer (see SO post)
  • Integrate blob detection of SVGs, render

Screenshot:

image

Closes https://github.com/gitlabhq/gitlabhq/issues/9265

Merge request reports