tasks/lib/process-svg.js
function ingestSVG(cb) {
    // :NOTE: xmlMode is important to not lowercase SVG tags
    // and attributes, like viewBox and clipPath
    var $ = cheerio.load(data.svg, {
      xmlMode: true
    });

    cb(null, $, data);
  }
function ingestSVG(cb) {
    // :NOTE: xmlMode is important to not lowercase SVG tags
    // and attributes, like viewBox and clipPath
    var $ = cheerio.load(data.svg, {
      xmlMode: true
    });

    cb(null, $, data);
  }
function ingestSVG ( cb ) { // :NOTE: xmlMode is important to not lowercase SVG tags // and attributes, like viewBox and clipPath var $ = cheerio . load ( data . svg , { xmlMode : true } ) ; cb ( null , $ , data ) ; }
Parse the SVG into a cheerio object
Parse the SVG into a cheerio object