InDefero

Sign in or create your account | Project List | Help

InDefero Commit Details

Date:2009-06-26 13:12:26 (8 months 24 days ago)
Author:Loïc d'Anterroches
Commit:16ce0da5f9b019989ceaa356ff0f24bbfc92a80c
Message:Fixed issue 240, correctly link the long URLs in the issues.

Files: src/IDF/Template/IssueComment.php (2 diffs)

Change Details

src/IDF/Template/IssueComment.php
3737        $this->project = $request->project;
3838        $this->request = $request;
3939        $this->scm = IDF_Scm::get($request->project);
40        if ($wordwrap) $text = wordwrap($text, 69, "\n", true);
4140        if ($esc) $text = Pluf_esc($text);
4241        if ($autolink) {
4342            $text = preg_replace('#([a-z]+://[^\s\(\)]+)#i',
...... 
5352            $text = preg_replace_callback('#(src:)([^\s\(\)]+)#im',
5453                                          array($this, 'callbackSource'), $text);
5554        }
55        if ($wordwrap) $text = Pluf_Text::wrapHtml($text, 69, "\n");
5656        if ($nl2br) $text = nl2br($text);
5757        if ($echo) {
5858            echo $text;

Archive Download the corresponding diff file

Branches:
dev
master
newdiff
svn