diff --git a/src/IDF/Template/IssueComment.php b/src/IDF/Template/IssueComment.php index a7a86c9..dd52cff 100644 --- a/src/IDF/Template/IssueComment.php +++ b/src/IDF/Template/IssueComment.php @@ -32,12 +32,12 @@ class IDF_Template_IssueComment extends Pluf_Template_Tag private $request = null; private $scm = null; - function start($text, $request, $echo=true) + function start($text, $request, $echo=true, $wordwrap=true) { $this->project = $request->project; $this->request = $request; $this->scm = IDF_Scm::get($request); - $text = wordwrap($text, 69, "\n", true); + if ($wordwrap) $text = wordwrap($text, 69, "\n", true); $text = Pluf_esc($text); $text = ereg_replace('[[:alpha:]]+://[^<>[:space:]]+[[:alnum:]/]', '\\0', diff --git a/src/IDF/templates/source/git/tree.html b/src/IDF/templates/source/git/tree.html index 6bf4549..378ac0d 100644 --- a/src/IDF/templates/source/git/tree.html +++ b/src/IDF/templates/source/git/tree.html @@ -35,7 +35,7 @@ {if $file.type == 'blob'} {if isset($file.date)}