BigW Consortium Gitlab

_svg.html.haml 172 Bytes
Newer Older
Douwe Maan committed
1 2 3 4
- blob = viewer.blob
- data = sanitize_svg_data(blob.data)
.file-content.image_file
  %img{ src: "data:#{blob.mime_type};base64,#{Base64.encode64(data)}", alt: blob.name }