| Conditions | 4 | 
| Paths | 2 | 
| Total Lines | 10 | 
| Code Lines | 5 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 23 |     public function appendAround($content, $string, $tag) { | 
            ||
| 24 | |||
| 25 |         if(!empty($content) && !empty($string) && !empty($tag)) { | 
            ||
| 26 |             $htmltag = str_replace('<', '', str_replace('>', '', $tag)); | 
            ||
| 27 | |||
| 28 |             return preg_replace(array('/'.$string.'/i'), array('<'.$htmltag.'>'.$string.'</'.$htmltag.'>'), $content); | 
            ||
| 29 | }  | 
            ||
| 30 | |||
| 31 | return $content;  | 
            ||
| 32 | }  | 
            ||
| 33 | |||
| 35 |