From d26b94d86ecd9abc0a44c6f52218416621fcfc0b Mon Sep 17 00:00:00 2001
From: Roger Feese <rfeese@unl.edu>
Date: Tue, 25 Nov 2014 10:29:53 -0600
Subject: [PATCH] Commented out bulletin formatting for diff previews.

---
 .../modules/bulletin/controllers/ViewController.php       | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/application/modules/bulletin/controllers/ViewController.php b/application/modules/bulletin/controllers/ViewController.php
index 26abce0b..748ff104 100644
--- a/application/modules/bulletin/controllers/ViewController.php
+++ b/application/modules/bulletin/controllers/ViewController.php
@@ -46,8 +46,8 @@ class Bulletin_ViewController extends Requests_ViewController
         $this->view->request = $request;
         $this->view->id = $in['id'];
         $this->view->section = $section;
-        $this->view->originalFileContents = UNL_UndergraduateBulletin_EPUB_Utilities::format($this->view->originalFileContents);
-        $this->view->proposedFileContents = UNL_UndergraduateBulletin_EPUB_Utilities::format($this->view->proposedFileContents);
+        //$this->view->originalFileContents = UNL_UndergraduateBulletin_EPUB_Utilities::format($this->view->originalFileContents);
+        //$this->view->proposedFileContents = UNL_UndergraduateBulletin_EPUB_Utilities::format($this->view->proposedFileContents);
         $this->view->isRequestValid = $request->isValid();
     }
 
@@ -109,14 +109,14 @@ class Bulletin_ViewController extends Requests_ViewController
                 '/data/' . $repo->getFilePathForSection($section), $parentCommit
             );
             $contents = Bulletin_SectionModel::getBodyHtml($contents);
-            $contents = UNL_UndergraduateBulletin_EPUB_Utilities::format($contents);
+            //$contents = UNL_UndergraduateBulletin_EPUB_Utilities::format($contents);
             $requestOriginalFileContents[$request->getId()] = $contents;
 
             $contents = $repo->getFileNotes(
                 '/data/' . $repo->getFilePathForSection($section), 'request-' . $request->getId()
             );
             $contents = Bulletin_SectionModel::getBodyHtml($contents);
-            $contents = UNL_UndergraduateBulletin_EPUB_Utilities::format($contents);
+            //$contents = UNL_UndergraduateBulletin_EPUB_Utilities::format($contents);
             $requestProposedFileContents[$request->getId()] = $contents;
         }
 
-- 
GitLab