Indefero

Indefero Commit Details


Date:2008-12-04 07:29:45 (16 years 18 days ago)
Author:Loic d'Anterroches
Branch:dev, 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:2e3330a8ad5357d068ea1dfd40b1cf333ff22fd3
Parents: a2ea92444848ea84bfd48be028936a0de06d5d91
Message:Fixed to avoid creation of unvalid HTML.

Changes:

File differences

src/IDF/Template/IssueComment.php
4040
4141
4242
43
44
45
43
44
4645
4746
4847
if ($wordwrap) $text = wordwrap($text, 69, "\n", true);
if ($esc) $text = Pluf_esc($text);
if ($autolink) {
$text = ereg_replace('[[:alpha:]]+://[^<>[:space:]]+[[:alnum:]/]',
'<a href="\\0" rel="nofollow">\\0</a>',
$text);
$text = preg_replace('#([a-z]+://[^\s\(\)]+)#i',
'<a href="\1">\1</a>', $text);
}
if ($request->rights['hasIssuesAccess']) {
$text = preg_replace_callback('#(issues?|bugs?|tickets?)\s+(\d+)((\s+and|\s+or|,)\s+(\d+)){0,}#im',

Archive Download the corresponding diff file

Page rendered in 0.06962s using 13 queries.