function getSvgContents(svg) {
  const $ = cheerio.load(svg);
  return minify($('svg').html(), { collapseWhitespace: true });
}
Get contents between opening and closing `<svg>` tags.
@param {string} svg
@returns {string}