[arvados] updated: 2.7.0-6580-gd5a68c7fa4

git repository hosting git at public.arvados.org
Thu May 16 18:39:49 UTC 2024


Summary of changes:
 .../src/views-components/details-card/project-details-card.tsx          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  d5a68c7fa4399bd0811b8383e241a481dc70ae75 (commit)
      from  8cc7190e7fdaf002e8f372e3146e377aaeed8539 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit d5a68c7fa4399bd0811b8383e241a481dc70ae75
Author: Lisa Knox <lisaknox83 at gmail.com>
Date:   Thu May 16 14:39:26 2024 -0400

    21224: fixed description html rendering
    
    Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox at curii.com>

diff --git a/services/workbench2/src/views-components/details-card/project-details-card.tsx b/services/workbench2/src/views-components/details-card/project-details-card.tsx
index fa78e0bdc0..63c1225782 100644
--- a/services/workbench2/src/views-components/details-card/project-details-card.tsx
+++ b/services/workbench2/src/views-components/details-card/project-details-card.tsx
@@ -249,7 +249,7 @@ export const ProjectCard = connect(
                                         data-cy='project-description'
                                         //dangerouslySetInnerHTML is ok here only if description is sanitized,
                                         //which it is before it is loaded into the redux store
-                                        dangerouslySetInnerHTML={{ __html: parser.parseFromString(description, 'text/html').body.textContent || '' }}
+                                        dangerouslySetInnerHTML={{ __html: description }}
                                     />
                                 </Collapse>
                             </section>

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list