Anspress removes “\” when questions or answers are posted

Solved4.37K 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
0

Category ERROR : https://snag.gy/Ybsp6O.jpg

MY SITE: http://www.sorucaddesi.com/tr/kategoriler/

DEMO SITE CATEGORY: https://demo.anspress.io/askbug/questions/categories/