[resolved] Removed slashes (3 posts)

  1. aliuskon
    Posted 1 year ago #

    Hello, I am having problems with backward slashes, "\", inside my posts (I'm using them while writing equations in LaTeX). It appears that mqTranslate tends to strip them away.

    To reproduce:
    1. disable all plugins except mqTranslate (just to be sure)
    2. create new post
    3. enter "\\\\" as post content
    4. press Publish
    5. observe that now only "\\" remains

    This happens both while using rich text editor and html code editor.
    The problem was absent while using WP 3.8 with qTranslate.


  2. chsxf
    Plugin Author

    Posted 1 year ago #

    We have found the cause of this bug.
    The next release will include a fix for it.

    It the mean time, you can edit mqtranslate_xhaleera_addons.php and change line 219 to :

    if (get_magic_quotes_gpc())
    		$data = stripslashes_deep($data);
  3. aliuskon
    Posted 1 year ago #

    Thank you for great support. Now everything is working great!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic