%li
  - node_id = entry['osm_type'] == 'way' ? (entry['osm_id'].to_i * -1) : entry['osm_id']
  %a.clearfix{:href => root_path(anchor: "/popup/#{node_id}?" + {:lat => entry['lat'], :lon => entry['lon'], :zoom => 17, :q => params[:q]}.to_param)}
    - entry['display_name'].split(', ').each_with_index do |part, index|
      %span{:class => index == 0 ? 'strong' : nil}
        = index > 0 ? ' ‹ ' : nil
        = part

    %i.icon-chevron-right.pull-right
%li
  %a.clearfix{:href => root_path(anchor: (entry['osm_type'] == 'node' ? "/popup/" + entry['osm_id'] : '') + "?" + {:lat => entry['lat'], :lon => entry['lon'], :zoom => 17, :q => params[:q]}.to_param)}
    - entry['display_name'].split(', ').each_with_index do |part, index|
      %span{:class => index == 0 ? 'strong' : nil}
        = index > 0 ? ' ‹ ' : nil
        = part

    %i.icon-chevron-right.pull-right
Fix placement of node id in search result links.
Fix placement of node id in search result links.
