@@ -17,7 +17,7 @@  | 
                                                    ||
| 17 | 17 | $url = parent::afterNormalization($url);  | 
                                                        
| 18 | 18 | |
| 19 | 19 | // strip @ and #! from the URL, eg. twitter.com/@HumanDirectEU becomes twitter.com/HumanDirectEU  | 
                                                        
| 20 | - $url = str_replace(['.com/@', '.com/#!/', '.com/share'], '.com/', $url);  | 
                                                        |
| 20 | + $url = str_replace([ '.com/@', '.com/#!/', '.com/share' ], '.com/', $url);  | 
                                                        |
| 21 | 21 | |
| 22 | 22 | return rtrim($url, '/');  | 
                                                        
| 23 | 23 | }  | 
                                                        
@@ -17,7 +17,7 @@  | 
                                                    ||
| 17 | 17 | $url = parent::afterNormalization($url);  | 
                                                        
| 18 | 18 |          $url = str_replace('fb.com', 'facebook.com', $url); | 
                                                        
| 19 | 19 | |
| 20 | - $url = str_replace(['.com/sharer.php', '.com/sharer/sharer.php'], '.com', $url);  | 
                                                        |
| 20 | + $url = str_replace([ '.com/sharer.php', '.com/sharer/sharer.php' ], '.com', $url);  | 
                                                        |
| 21 | 21 | |
| 22 | 22 | return rtrim($url, '/');  | 
                                                        
| 23 | 23 | }  |