Class: SpreeCmCommissioner::SeatLayouts::SanitizeSvg

Inherits:
Object
  • Object
show all
Includes:
Spree::ServiceModule::Base
Defined in:
app/services/spree_cm_commissioner/seat_layouts/sanitize_svg.rb

Overview

Sanitizes an admin-uploaded background SVG once, before it's saved to the DB — so every downstream consumer (the dashboard builder and the app) can later extract paths from it or render it directly, without each having to sanitize or normalize it again itself.

Strips