Skip to content

Commit

Permalink
[PRMP-925] Added encodeURIComponent for description (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbloe-nhse authored Sep 26, 2024
1 parent fa1e029 commit aeb47b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/mhs/mhs-attachments-wrangler.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ async function extractManifestReferences(mhsJsonMessage) {
}

function extractDescription(attachmentReference) {
const description = attachmentReference.Description.innerText;
const description = encodeURIComponent(attachmentReference.Description.innerText);
return description;
}

Expand Down

0 comments on commit aeb47b2

Please sign in to comment.