Skip to content

Jupyter/IPython get the tick `'` back to pass it to Katex

What does this MR do?

Get the tick ' back to pass it to Katex

When rendering IPython notebook markdown cells the formulas are passed to Katex. Before that the raw string is passed to marked.js to handle HTML forbidden characters. One of these characters is the '. This character is often used in math formulas and the replacement &#39 is not well received by Katex.

Fixes: #216744 (closed)

Screenshots

Formula with ' is now rendered. Listitems not yet, comes in another MR

image

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Merge request reports