votingworks / bmd

GNU General Public License v3.0
13 stars 7 forks source link

Add support for SVG in measure contest descriptions #1465

Closed eventualbuddha closed 3 years ago

eventualbuddha commented 4 years ago

Detailed Description of Problem

image

Context

Mississippi is voting on a new flag design in November, and we need to be able to display it to the voter as part of the contest description.

Possible Solution

Render a safe subset of HTML+SVG with something like sanitize-html.

Environment

n/a