Show
Ignore:
Timestamp:
2008-04-22 14:03:31 (7 months ago)
Author:
wwalc
Message:

Fix for #2069: templates removed from tags attributes

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • MediaWiki/trunk/mw12/FCKeditorParser_OldPP.body.php

    r1884 r1941  
    464464 
    465465                if (!empty($this->fck_mw_strtr_span)) { 
     466                        global $leaveRawTemplates; 
     467                        if (!empty($leaveRawTemplates)) { 
     468                                foreach ($leaveRawTemplates as $l) { 
     469                                        $this->fck_mw_strtr_span[$l] = substr($this->fck_mw_strtr_span[$l], 30, -7); 
     470                                } 
     471                        } 
    466472                        $parserOutput->setText(strtr($parserOutput->getText(), $this->fck_mw_strtr_span)); 
    467473                }