• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pulibrary / orangelight / 5583111e-2df9-4965-8722-73a1191b3c47

12 May 2026 01:33PM UTC coverage: 89.183% (-6.4%) from 95.538%
5583111e-2df9-4965-8722-73a1191b3c47

push

circleci

web-flow
Remove incorrect border-spacing rule (#5883)

border-spacing only has an effect on tables, but the facets
are presented as a list, not a table.

5936 of 6656 relevant lines covered (89.18%)

1268.1 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

81.82
/app/processors/orangelight/reference_note_url_processor.rb
1
# frozen_string_literal: true
2
module Orangelight
2✔
3
  # For reference notes that end with a url convert the note into link
4
  class ReferenceNoteUrlProcessor < Blacklight::Rendering::AbstractStep
2✔
5
    include ActionView::Helpers::UrlHelper
2✔
6

7
    def render
2✔
8
      return next_step(values) unless config.references_url
2,172✔
9
      values.map! do |reference|
12✔
10
        if (url = reference[/ (http.*)$/])
22✔
11
          chomped = reference.chomp(url)
×
12
          reference = link_to(chomped, url.gsub(/\s/, ''), target: '_blank', rel: 'noopener')
×
13
        end
14
        reference
22✔
15
      end
16

17
      next_step(values)
12✔
18
    end
19
  end
20
end
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc