templates/helpers/helper-prettify.js
function(source, options) {
    try {
      return prettify(source, options);
    } catch (e) {
      console.error(e);
      console.warn('HTML beautification failed.');
    }
  }
function(source, options) {
    try {
      return prettify(source, options);
    } catch (e) {
      console.error(e);
      console.warn('HTML beautification failed.');
    }
  }
function ( source , options ) { try { return prettify ( source , options ) ; } catch ( e ) { console . error ( e ) ; console . warn ( 'HTML beautification failed.' ) ; } }
Format HTML with js-beautify, pass in options.
@param   {String} source  [The un-prettified HTML.]
@param   {Object} options [Object of options passed to js-beautify.]
@returns {String}         [Stunning HTML.]
Format HTML with js - beautify pass in options .