## Bug #8317

### Math formula not rendered properly on campus.chamilo.org

100%

**Description**

Hi,

On http://campus.chamilo.org, I'm able to create math formula using the editor for exercice questions. However, the equations do not render properly in the quizz itself: it displays the TeX text of the equations, not the rendered equation. In other words, it renders well within CKEditor only.

It seems there are two problems:

- Chamilo strips backslashes, so when I enter a formula like \frac{1}{\pi}, the generated HTML is only frac{1}{pi}.

- The generated HTML is:

<span class="math-tex">`int_a^b f(x) dx`</span>

but I don't see a library like MathJax loaded to render it properly.

It is supposed to work? Did I miss anything?

In case it helps, the problem is visible here: https://campus.chamilo.org/main/exercice/exercise_submit.php?cidReq=ENSIMAGTEST&id_session=0&gidReq=0&gradebook=0&origin=&exerciseId=46783&origin=&learnpath_id=&learnpath_item_id=&preview=1 (but this is a private course)

Thanks !

**Files**

### History

#### Updated by Yannick Warnier almost 3 years ago

**File**mathjax.png mathjax.png added

This is fixed now. We just didn't activate the mathjax extension properly on the free campus. Thanks for reporting.

#### Updated by Yannick Warnier almost 3 years ago

**Status**changed from*New*to*Feature implemented***Assignee**set to*Yannick Warnier***% Done**changed from*0*to*100*