@@ -22,7 +22,7 @@ |
||
| 22 | 22 | */ |
| 23 | 23 | public function appendAround($content, $string, $tag) { |
| 24 | 24 | |
| 25 | - if(!empty($content) && !empty($string) && !empty($tag)) { |
|
| 25 | + if (!empty($content) && !empty($string) && !empty($tag)) { |
|
| 26 | 26 | $htmltag = str_replace('<', '', str_replace('>', '', $tag)); |
| 27 | 27 | |
| 28 | 28 | return preg_replace(array('/'.$string.'/i'), array('<'.$htmltag.'>'.$string.'</'.$htmltag.'>'), $content); |