Skip to main content

Learn not Properly Displaying Borders for Tables Created via HTML Code when Instructor Clicks on the Question Preview button

Learn is not displaying properly the borders for tables created via HTML code when the Instructor clicks on the Question Preview button.

Description

Learn is not displaying properly the borders for tables created via HTML code when the Instructor clicks on the Question Preview button.

Steps to Replicate

  1. Access Environment as Admin

  2. Create a new Course shell in Original Course View (e.g. course_id: course_123_pool)

  3. Create at least one User and enroll it as Instructor (e.g. Ad456)

  4. Access Course "course_123_pool" as Ad456

  5. Go to: Course > Control Panel > Course Tools > Tests, Surveys and Pools > Pools

  6. Create a new pool: Build Pool and input a Name

  7. Create a new question (e.g. True/False)

  8. In the VTBE, click "Show more" to view the "HTML Code View" button. Click on it to input HTML code directly to the Question Text

e.g.

<table border="1">
<tbody>
<tr>
<td>Firstname</td>
<td>Lastname</td>
<td>Age</td>
</tr>
<tr border="2">
<td>Will</td>
<td>Smith</td>
<td>50</td>
</tr>
<tr border="2">
<td>Charles</td>
<td>Jackson</td>
<td>94</td>
</tr>
<tr border="2">
<td>John</td>
<td>Anderson</td>
<td>80</td>
</tr>
</tbody>
</table>
  1. Save the question

  2. Create a new Assessment (Course > Content > Assessments > Test > Create > Reuse Question > Find Questions > Copy or Link selected question > Choose the two questions created in Pool1)

  3. Notice that tables in HTML display correctly

  4. Complete the Test creation

  5. Access the Assessment and we can still notice the tables created via HTML code display properly

  6. Go back to see the Pool questions (Course > Control Panel > Course Tools > Tests, Surveys and Pools > Pools > Pool1 > Edit)

  7. I've added a new question taken the HTML intact from the Client's Production Server

  8. Click in the "Detail" button to see the Preview

Expected Behavior:
The HTML code, especially the table with borders should display correctly in the question Preview

Observed Behavior:
Learn is not consistent displaying the borders for tables created via HTML

Target Release

Will Not Fix

Did this answer your question?