docs/app/js/codepen.js
function processHtml(demo) {

      var allContent = demo.files.index.contents;

      var processors = [
        applyAngularAttributesToParentElement,
        insertTemplatesAsScriptTags,
        htmlEscapeAmpersand
      ];

      processors.forEach(function(processor) {
        allContent = processor(allContent, demo);
      });

      return allContent;
    }
function processHtml(demo) {

      var allContent = demo.files.index.contents;

      var processors = [
        applyAngularAttributesToParentElement,
        insertTemplatesAsScriptTags,
        htmlEscapeAmpersand
      ];

      processors.forEach(function(processor) {
        allContent = processor(allContent, demo);
      });

      return allContent;
    }
function processHtml ( demo ) { var allContent = demo . files . index . contents ; var processors = [ applyAngularAttributesToParentElement , insertTemplatesAsScriptTags , htmlEscapeAmpersand ] ; processors . forEach ( function ( processor ) { allContent = processor ( allContent , demo ) ; } ) ; return allContent ; }
Modifies index.html with necessary changes in order to display correctly in codepen See each processor to determine how each modifies the html
Modifies index . html with necessary changes in order to display correctly in codepen See each processor to determine how each modifies the html