SAP Knowledge Base Article - Public

3502383 - Line Breaks Not Reflected in SAP SuccessFactors Learning Item Description

Symptom

• When creating a new item , line breaks inserted in the item description are not reflected on Library > Item Details Page upon the first save.
• The line breaks only appear after the item description is edited and saved again.
• The issue only appears when enableHTMLdescription is set to 'True' in Learning Administration > System Administration > Configurations > System Configuration > LMS_ADMIN file.

Environment

SAP SuccessFactors Learning

Reproducing the Issue

1. Log in to SAP SuccessFactors Learning and navigate to Learning Admin.
2. Create a new item and insert line breaks in the item description.
3. Save the changes and assign the item to a user.
4. Navigate to Learning Plan > Item details page. The line breaks are not reflected.
5. Go back to Learning Admin > Open the item > Edit item description.
6. Enter a space, remove it, and save changes.
7. Navigate to Learning Plan > Item details page. The line breaks are now reflected.

Cause

The issue occurs due to a limitation in the system where line breaks HTML tag cannot be passed by API upon the first save. 

Resolution

The solution to this issue is to edit the item description after the initial save, make a minor change (such as adding and removing a space), and save the changes again. This will trigger a different API and cause the system to recognize and reflect the line breaks in the item description.

Keywords

HTML Item Description, Line Breaks, Not Reflected, Library, Learning Admin, Item Details. , KBA , LOD-SF-LMS-ITE , Items , Problem

Product

SAP SuccessFactors Learning all versions