Assembla home | Assembla project page
 

Changeset 244

Show
Ignore:
Timestamp:
04/15/08 00:40:57 (7 months ago)
Author:
tobias382
Message:

Added code to strip leading spaces from function descriptions in the Php plugin

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Phergie/Plugin/Php.php

    r242 r244  
    6969               if (preg_match('/<p class="refpurpose dc-title">(.*?)<\/p>/mis', $tmp, $m)) { 
    7070                  $m = explode('-', $this->decode($m[1]), 2); 
    71                   $contents .= ' - ' . $m[1]
     71                  $contents .= ' - ' . trim($m[1])
    7272               } 
    7373               $contents = trim(str_replace(' ,', ',', $contents));