correctly pass in options to getSvgDataUrl()