Show raw, unrendered contents of text-based images (SVG, XPM, etc) (BB-8996)

Issue #7833 open
Mel Collins
created an issue

Currently, when viewing an SVG file in a repository, the "source" view displays the rendered image, rather than the source code of the SVG. Hence there is currently no simple way to view the entire source code of SVG files within bitbucket (AFAICT) - only a hacky way via a diff view.

Eg: (not mine, just the first public one I found)

If someone wants to view the final rendered graphic, the "raw" button is available for that purpose, so the "source" tab should show the actual image source code.

Comments (9)

  1. Log in to comment