Skip to content
Snippets Groups Projects
Commit d26b94d8 authored by Roger W Feese's avatar Roger W Feese
Browse files

Commented out bulletin formatting for diff previews.

parent df9a1d54
Branches
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment