# SAMIGO - htmStripped should not be used on the view pool

XMLWordPrintable

#### Details

• Type: Bug
• Status: OPEN
• Priority: Major
• Resolution: Unresolved
• Affects Version/s: 20.1, 21.0 [Tentative]
• Fix Version/s: None
• Component/s:
• Labels:
None
• 20 status:
• Test Plan:
Hide

1. Go to Tests & Quizzes tool
2. Click Question Poools tab
4. Fill Pool name and click Save
5. Click on the name of the new pool
7. Click File Upload and click save
8. On Question Text click "Show Rich-Text Editor (and character count)
9. Paste a latex question. This for example:

Comprobar que se cumplen las leyes de De Morgan con los siguientes conjuntos borrosos.

$$\mu_a(x)=\left\{ \begin\{array}{ll} 0 & x\le 6 \\ \frac\{x-6}{2} & 7\leq x\leq 11 \\ \frac\{13-x}{2} & 11\le x\leq 13 \\ 0 & 13\le x \\ \end\{array} \right.$$

$$\mu_b(x)=\left\{ \begin\{array}{ll} 0 & x\le 12 \\ \frac\{x-17}{2} & 12\leq x\leq 14 \\ \frac\{16-x}{2} & 15\le x\leq 26 \\ 0 & 20\le x \\ \end\{array} \right.$$


10. Click Save
11. It seems that question is on right format (pool view).
12. Click Preview
13. Really question is on wrong format

Show
1. Go to Tests & Quizzes tool 2. Click Question Poools tab 3. Add New Pool 4. Fill Pool name and click Save 5. Click on the name of the new pool 6. Click Add Question 7. Click File Upload and click save 8. On Question Text click "Show Rich-Text Editor (and character count) 9. Paste a latex question. This for example: Comprobar que se cumplen las leyes de De Morgan con los siguientes conjuntos borrosos. $$\mu_a(x)=\left\{ \begin\{array}{ll} 0 & x\le 6 \\ \frac\{x-6}{2} & 7\leq x\leq 11 \\ \frac\{13-x}{2} & 11\le x\leq 13 \\ 0 & 13\le x \\ \end\{array} \right.$$ $$\mu_b(x)=\left\{ \begin\{array}{ll} 0 & x\le 12 \\ \frac\{x-17}{2} & 12\leq x\leq 14 \\ \frac\{16-x}{2} & 15\le x\leq 26 \\ 0 & 20\le x \\ \end\{array} \right.$$ 10. Click Save 11. It seems that question is on right format (pool view). 12. Click Preview 13. Really question is on wrong format

#### Description

When an instructor inserts a latex question in a question pool, in question pool view it appears that the question is in the right format
but if you preview the pool, the question format is really wrong.

htmlStripped should not be used on the pool view.

#### Attachments

1. SAK-43823 - Pool view.png
26 kB
2. SAK-43823 - Preview pool.png
32 kB

#### People

Assignee:
Laura Gekeler
Reporter:
Jesus Maria Mendez