MauroDataMapper/mdm-ui

Data Type grid view doesn't show HTML formatted descriptions

Closed this issue · 1 comments

Description

Data types with HTML formatted descriptions are listed in the Type tab but the descriptions are blank because the HTML is shortened to 100 characters without stripping the HTML code.

Steps to reproduce

  1. Edit a draft Data Model
  2. Select the Types tab
  3. Click Add Data Type button
  4. Select Create New Data Type
  5. Enter a label
  6. In the Description field, select HTML
  7. Enter more than 100 characters
  8. Click Submit Data Type
  9. Navigate to the Data Class and view the Types tab
  10. The description does not appear

Expected behavior

The first 100 characters should appear without the HTML code and the show more link should appear

Environment

Desktop

  • OS: Windows 10
  • Browser Chrome
  • Version 105.0.5195.102

The more description was re-worked in 7.2.0 and this issue is resolved