From 37420d8999bdc452df9c1f84f22c36cff3674b63 Mon Sep 17 00:00:00 2001 From: Steven Winship <39765413+stevenwinship@users.noreply.github.com> Date: Fri, 10 Apr 2026 10:20:16 -0400 Subject: [PATCH 1/3] Added Suport for HTML in JSF UI for file description --- .../11397-support-html-in-file-level-description.md | 2 ++ src/main/webapp/file.xhtml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 doc/release-notes/11397-support-html-in-file-level-description.md diff --git a/doc/release-notes/11397-support-html-in-file-level-description.md b/doc/release-notes/11397-support-html-in-file-level-description.md new file mode 100644 index 00000000000..c0d6b597ce3 --- /dev/null +++ b/doc/release-notes/11397-support-html-in-file-level-description.md @@ -0,0 +1,2 @@ +## Feature Request +File metadata description will now support html in JSF UI. Is already supported in SPA. diff --git a/src/main/webapp/file.xhtml b/src/main/webapp/file.xhtml index 885a116ec58..9378d5aee86 100644 --- a/src/main/webapp/file.xhtml +++ b/src/main/webapp/file.xhtml @@ -624,7 +624,7 @@ #{bundle['file.metadataTab.fileMetadata.description.label']} - #{FilePage.fileMetadata.description} + From 2bcd1cff6de692b6b879899fea0e1e938aead054 Mon Sep 17 00:00:00 2001 From: Steven Winship <39765413+stevenwinship@users.noreply.github.com> Date: Wed, 20 May 2026 11:35:00 -0400 Subject: [PATCH 2/3] change markup Checking from advanced to basic --- src/main/webapp/file.xhtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/file.xhtml b/src/main/webapp/file.xhtml index 9378d5aee86..e2ab5dd13ac 100644 --- a/src/main/webapp/file.xhtml +++ b/src/main/webapp/file.xhtml @@ -624,7 +624,7 @@ #{bundle['file.metadataTab.fileMetadata.description.label']} - + From f08df4a18068467f6107667e934ae0df6610a9b6 Mon Sep 17 00:00:00 2001 From: Steven Winship <39765413+stevenwinship@users.noreply.github.com> Date: Wed, 20 May 2026 12:23:38 -0400 Subject: [PATCH 3/3] add sanitizeBasicHTML to file-info-fragment --- src/main/webapp/file-info-fragment.xhtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/file-info-fragment.xhtml b/src/main/webapp/file-info-fragment.xhtml index 3eefce7cafa..110020e8b66 100644 --- a/src/main/webapp/file-info-fragment.xhtml +++ b/src/main/webapp/file-info-fragment.xhtml @@ -122,7 +122,7 @@
- +