Leave a comment at the end of this page or email contact@krishagni.com
Incorrect Display of '&' Symbol in UI Captions
Overview
When users add the &
symbol in field captions, it is displayed as its HTML entity &
instead of the intended &
.
Example:
'Collection Date & Time' appears as 'Collection Date & Time'.
Root Cause
This issue occurs because OpenSpecimen automatically converts special characters like & into their HTML equivalent (&). This is a security feature implemented in bug fix OPSMN-6624 to prevent data loss or security risks. Since the & symbol is configured through JavaScript and JSON, the system cannot determine whether it is safe, so it encodes it by default.
Resolution
To ensure correct display, replace & with "and" in field captions.
Changes:
Use: 'Collection Date and Time' instead of 'Collection Date & Time'
Use: 'Received Date and Time' instead of 'Received Date & Time'
Related content
Leave a comment at the end of this page or email contact@krishagni.com