Indefero

Indefero Commit Details


Date:2009-06-26 06:12:26 (15 years 5 months ago)
Author:Loic d'Anterroches
Branch:develop, feature-issue_links, feature.better-home, feature.content-md5, feature.diff-whitespace, feature.download-md5, feature.issue-links, feature.issue-of-others, feature.issue-summary, feature.search-filter, feature.webrepos, feature.wiki-default-page, master, release-1.1, release-1.2, release-1.3
Commit:16ce0da5f9b019989ceaa356ff0f24bbfc92a80c
Parents: 2ab52e7eaf2c72deb196aecb7f3c9104523668ad
Message:Fixed issue 240, correctly link the long URLs in the issues.

Changes:

File differences

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

Archive Download the corresponding diff file

Page rendered in 0.07932s using 14 queries.