pulibrary / allsearch_api

0 stars 0 forks source link

Library Databases: remove HTML tags #144

Closed sandbergja closed 10 months ago

sandbergja commented 10 months ago

Expected behavior

If a library databases result includes HTML tags, they should be removed. This is the current discovery_utils behavior.

Actual behavior

The HTML tags are retained, and displayed verbatim to the user. See this example, the second result in Library Databases.

Steps to replicate

  1. Go to https://allsearch-api.princeton.edu/search/database?query=proquest%20new%20york%20times
  2. Note that the second result includes <a href

Impact of this bug

Unhelpful display to the user

sandbergja commented 10 months ago

This also affects the description in libguides results. See the first libguides result in https://allsearch.princeton.edu/?q=refworks