Only certain HTML tags should be rendered when displaying staff slips

Description

Precondition:

Via API update all star slip templates and add to them danger HTML.

Step for reproduce:

  1. Login on folio environment as user with all permission

  2. Check In item by barcode

  3. Open dev tool -> Elements -> Ctrl + F -> input part of danger HTML for search

Actual behavior:
We see danger HTML
Expected behavior:
We see purify danger HTML

Notes:
More details

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

5

Checklist

hide

Activity

Show:

Oleksandr Hrusha March 28, 2024 at 11:47 AM
Edited

Reckeched after second fix, works as expected:

 

Was tested with next example:

Oleksandr Hrusha March 21, 2024 at 12:21 PM

Checked on snapshot. works as expected

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Vega

Release

Quesnelia (R1 2024)

RCA Group

Incomplete/missing requirements

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created March 19, 2024 at 3:37 PM
Updated July 1, 2024 at 10:28 AM
Resolved March 28, 2024 at 6:13 PM
TestRail: Cases
TestRail: Runs