Anspress removes “\” when questions or answers are posted

Solved4.89K viewsIssues
0

Example: when I type “$$x = {-b \pm \sqrt{b^2-4ac} \over 2a}.$$” the output is

“$$x = {-b pm sqrt{b^2-4ac} over 2a}.$$”

“\” are removed (Anspress version 3.0.2)

How to fix this?

0

Please remove wp_unslash from this line:

https://github.com/anspress/anspress/blob/master/includes/ask-form.php#L380

selected as best answer
You are viewing 1 out of 2 answers, click here to view all answers.