<table class="categories" cellspacing="0">
  <% categories.each do |name, category| %>
    <tr class="category <%= "incomplete" unless category.complete? %>">
      <td class="key">
        <a class="text" href="/?filters[key]=^<%= category.name %>"><%= category.name %></a>
      </td>
    </tr>
  <% end %>
</table>

<table class="categories" cellspacing="0">
  <% categories.each do |name, category| %>
    <tr class="category <%= "incomplete" unless category.complete? %>">
      <td class="key">
        <a class="text" href="/?filters[key]=<%= Rack::Utils.escape("^#{category.name}") %>"><%= category.name %></a>
      </td>
    </tr>
  <% end %>
</table>

Fix category links: escape "^" character
Fix category links: escape "^" character
