Fixed issue 12, better regular expressions to link issues.
The bug was due to a bad initialization of the git repository path in the issue comment parser. Time to make more init tests!
This commit is contained in:
parent
0a868a76ba
commit
9dedea0f9d
@ -34,7 +34,7 @@ class IDF_Template_IssueComment extends Pluf_Template_Tag
|
||||
function start($text, $project)
|
||||
{
|
||||
$this->project = $project;
|
||||
$this->git = new IDF_Git(Pluf::f('git_repository'));
|
||||
$this->git = new IDF_Git($this->project->getGitRepository());
|
||||
$text = wordwrap($text, 69, "\n", true);
|
||||
$text = Pluf_esc($text);
|
||||
$text = ereg_replace('[[:alpha:]]+://[^<>[:space:]]+[[:alnum:]/]',
|
||||
|
Loading…
Reference in New Issue
Block a user