5 * Render plain .txt files
7 class Renderer_Plaintext
10 * Simply displays the file
12 * @param File $file File to render
16 public function toHtml(File $file)
18 $html = '<div class="code"><pre class="txt">'
19 . htmlspecialchars($file->getContent())
20 . '</pre></div>' . "\n";