You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Spotlight does not properly display ampersands on exhibit card descriptions. If one is typed into the exhibit description, it is displayed as & instead of "&". For example, instead of displaying "Historical & Special Collections" it displays "Historical & Special Collections" (see screenshot)
Steps to reproduce
Type an ampersand anywhere into an exhibit's description
View the description on the exhibit card checking to see how the ampersand displays
Expected behavior
Ampersand should display as "&" instead of &
The text was updated successfully, but these errors were encountered:
This results in & getting stored as & in the description field in the database. I'm not sure why we're doing this. The stored description will be marked unsafe and so storing the & directly in the database should be fine and then it would get properly encoded for display.
corylown
changed the title
Bug: Ampersands do not display properly on exhibit cards
Bug: Ampersands in the exhibit description do not display properly on exhibit cards
Oct 23, 2024
Description
Spotlight does not properly display ampersands on exhibit card descriptions. If one is typed into the exhibit description, it is displayed as
&
instead of "&". For example, instead of displaying "Historical & Special Collections" it displays "Historical & Special Collections" (see screenshot)Steps to reproduce
Expected behavior
Ampersand should display as "&" instead of
&
The text was updated successfully, but these errors were encountered: