Fixed to avoid lines being too long.
This commit is contained in:
parent
54d3783173
commit
e6df530624
@ -35,7 +35,7 @@ class IDF_Template_IssueComment extends Pluf_Template_Tag
|
|||||||
{
|
{
|
||||||
$this->project = $project;
|
$this->project = $project;
|
||||||
$this->git = new IDF_Git(Pluf::f('git_repository'));
|
$this->git = new IDF_Git(Pluf::f('git_repository'));
|
||||||
$text = wordwrap($text, 80, "\n", true);
|
$text = wordwrap($text, 69, "\n", true);
|
||||||
$text = Pluf_esc($text);
|
$text = Pluf_esc($text);
|
||||||
$text = ereg_replace('[[:alpha:]]+://[^<>[:space:]]+[[:alnum:]/]',
|
$text = ereg_replace('[[:alpha:]]+://[^<>[:space:]]+[[:alnum:]/]',
|
||||||
'<a href="\\0" rel="nofollow">\\0</a>',
|
'<a href="\\0" rel="nofollow">\\0</a>',
|
||||||
|
Loading…
Reference in New Issue
Block a user