Text Added via New Content Editor as Code does not Add Carry Return at End of Line




 
Text Added via New Content Editor as Code does not Add Carry Return at End of Line

Date Published: Dec 02,2020 Category: Planned_First_Fix_Release:SaaS_v3900_17_0,Learn_9_1_3900_17_0_Release; Product:Communication_Tools,Content_Management_Learn,Course_Tools_Learn; Version:Learn_9_1_3900_0,Learn_9_1_3900_2_0,Learn_9_1_3900_4_0,SaaS   Article No.: 000075050

Product: Blackboard Learn

Release: 9.1;SaaS

Service Pack(s): Learn 9.1, 3900.0.0, Learn 9.1, 3900.2.0, Learn 9.1, 3900.4.0, SaaS

Description: Text added via the new Content Editor as code snippets does not add carry return at the end of the line in an item or Question Text like an essay.

Steps to Replicate:

  1. Log into Blackboard Learn as System Administrator
  2. Navigate to System Admin > Courses > Create a test Course
  3. Enter the Course created in Step 2
  4. Select Tests > Build Tests > Assign name
  5. Select Create Question > Essay
  6. Create a question > Click on the *{;}* icon for adding a code snippet
  7. Add some lines of Code:
#include (iostream)
#include "hello.h"

int main() {
std::cout (( task_1() (( '\n';
return 0;
}

 
Expected Behavior:
The carry returned is respected after each line of code.

 
Observed Behavior:
Upon saving the question, the code displays on one single line:
#include (iostream) #include "hello.h" int main() { std::cout (( task_1() (( '\n'; return 0; }null


 

 
Symptoms:
BeforeDuringAfter




Target Release: Learn 9.1, 3900.17.0 Release

SaaS - Fixed (v3900.17.0)


Patch Available: No