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

pulibrary / orangelight / dedf2a73-1882-428c-a89c-aef4378e65b0

14 Aug 2025 01:25PM UTC coverage: 0.422% (-94.9%) from 95.343%
dedf2a73-1882-428c-a89c-aef4378e65b0

push

circleci

web-flow
Merge pull request #5181 from pulibrary/dependabot/bundler/activestorage-7.2.2.2

Bump activestorage from 7.2.2.1 to 7.2.2.2

41 of 9721 relevant lines covered (0.42%)

0.01 hits per line

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

0.0
/app/processors/orangelight/highlight_processor.rb
1
# frozen_string_literal: true
2

3
module Orangelight
×
4
  class HighlightProcessor < Blacklight::Rendering::AbstractStep
×
5
    def render
×
6
      em_highlight = values.map { |value| value.gsub('<em>', '<span class="visually-hidden">Begin search term</span><em class="highlight-query">').gsub('</em>', '<span class="visually-hidden">End search term</span></em>').html_safe }
×
7
      next_step(em_highlight)
×
8
    end
×
9
  end
×
10
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

© 2025 Coveralls, Inc