Change Details
| src/IDF/Template/IssueComment.php |
| 37 | 37 | $this->project = $request->project; |
| 38 | 38 | $this->request = $request; |
| 39 | 39 | $this->scm = IDF_Scm::get($request->project); |
| 40 | | if ($wordwrap) $text = wordwrap($text, 69, "\n", true); |
| 41 | 40 | if ($esc) $text = Pluf_esc($text); |
| 42 | 41 | if ($autolink) { |
| 43 | 42 | $text = preg_replace('#([a-z]+://[^\s\(\)]+)#i', |
| ... | ... | |
| 53 | 52 | $text = preg_replace_callback('#(src:)([^\s\(\)]+)#im', |
| 54 | 53 | array($this, 'callbackSource'), $text); |
| 55 | 54 | } |
| 55 | if ($wordwrap) $text = Pluf_Text::wrapHtml($text, 69, "\n"); |
| 56 | 56 | if ($nl2br) $text = nl2br($text); |
| 57 | 57 | if ($echo) { |
| 58 | 58 | echo $text; |
Download the corresponding diff file