@@ -171,8 +171,7 @@ discard block |
||
| 171 | 171 | // closing tags every so often so we skip those and only |
| 172 | 172 | // do the long opening tags. |
| 173 | 173 | $str = preg_replace('/<\?(php)/i', "<?\\1", $str); |
| 174 | - } |
|
| 175 | - else |
|
| 174 | + } else |
|
| 176 | 175 | { |
| 177 | 176 | $str = str_replace(array('<?', '?' . '>'), array('<?', '?>'), $str); |
| 178 | 177 | } |
@@ -307,8 +306,7 @@ discard block |
||
| 307 | 306 | if ($evilAttribute) |
| 308 | 307 | { |
| 309 | 308 | $evil_attributes = array('on\w*', 'style', 'xmlns'); |
| 310 | - } |
|
| 311 | - else |
|
| 309 | + } else |
|
| 312 | 310 | { |
| 313 | 311 | $evil_attributes = array('on\w*', 'xmlns'); |
| 314 | 312 | } |