cultuurnet/culturefeed — pull request #16 by pfrenssen (2013-08-23 17:00:54+00:00)
Title: Links in search facet items are run through url() twice

Links in search facet items are run through `url()` twice, once in the preprocess function:

```php
function culturefeed_search_ui_preprocess_culturefeed_search_facet_item(&$variables) {
// ...
$variables['url'] = url($variables['path'], array('query' => $query, 'absolute' => TRUE));
// ...
}
```

... and once in the template, by calling the `l()` function, which runs the `$url` through `url()` again:

```php
...
() ', $url, array('attributes' => array('class' => 'facet-remove pull-right', 'title' => 'Verwijder filter'), 'html' => TRUE)); ?>
...
TRUE)); ?> ()
...
```

This is wreaking havoc on my website's `hook_url_outbound_alter()` implementation.

In passing I also fixed an untranslated string.