@@ -15,7 +15,7 @@ |
||
| 15 | 15 | $body = preg_replace('# (S\d[O0WF]-\d+)[, ]#', ' <a href="/spwrans/?spid=$1">$1</a> ', $body); |
| 16 | 16 | $body = preg_replace_callback( |
| 17 | 17 | '#<citation id="uk\.org\.publicwhip/(.*?)/(.*?)">\[(.*?)\]</citation>#', |
| 18 | - function ($matches) { |
|
| 18 | + function($matches) { |
|
| 19 | 19 | if ($matches[1] == 'spor') { |
| 20 | 20 | $href_segment = 'sp/?g'; |
| 21 | 21 | } elseif ($matches[1] == 'spwa') { |