Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-7833

Show raw, unrendered contents of text-based images (SVG, XPM, etc) in diffs

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      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: https://bitbucket.org/tharris/gd-svg/src/af2e386df375fc6cffcb95a1d78c5647e3c0b73c/examples/test_image.svg?at=default\\
      (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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              fb8b2933a4c8 romlok
              Votes:
              46 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

                Created:
                Updated: