• Hi,

    Thank you for a great plugin!

    I’ve been using this plugin for over a year without issue but recently I’ve noticed that my backslashes are getting removed when I save a question.

    This is happening only in the answers and not the question itself.

    For example, if I write the following question

    and then click save, the backslashes disappear in the answers (but not the question).

    This is not happening anywhere else on my website (posts, pages etc.) but is making it impossible for me to use LaTeX in my answers.

    I’m using the Elementor Hello theme and have been using that theme together with this plugin for the past year without any issue.

    Any help is greatly appreciated. ??

    Note: I am also able to reproduce this on a fresh install of WordPress, as shown in the below video.

Viewing 7 replies - 1 through 7 (of 7 total)
  • tick the “disable strip slashes” in the quiz adding answer menu

    Thread Starter Ari123

    (@ucdguy)

    Ah, somehow I did not notice this new setting, thank you.

    However, I notice that there is only a general setting to turn this on for new questions, not for old questions.

    I have thousands of old questions. They are all currently not stripping the slashes unless I edit them. They then get stripped unless I remember to tick that box in each case, which is easy to forget if I decide to edit an old question six months from now.

    Is there a way of ticking this box for all of the old questions as well, e.g. with a snippet that is run once?

    Thank you. ??

    Unfortunately, I don’t know the answer to that. I also have a problem with latex answer, the latex code isn’t converted to mathematics equations when using in “Text” answer type.

    Do you know any solutions for this issue? Thanks in advance ??

    Plugin Support Jasmine

    (@hyenokian)

    Dear @ucdguy,

    Thank you for your topic.

    My apologies for the late reply – weekends are non-working days for us.

    Regarding your request, I would like to mention that you have found the features correctly.
    You can make use of the Disable strip slashes for answers in the questions editing page.

    See the screenshot below:

    But unfortunately, you will not be able to make it work for the old questions.

    Let us know if you have any questions.
    Thank you.

    Thread Starter Ari123

    (@ucdguy)

    Hi,

    Thank you for the quick reply.

    So, from my understanding, the old questions are still keeping the slashes even without this setting turned on. It’s not until I attempt to edit one of these questions that the slashes are removed and I therefore have to remember to tick that box for that old question.

    Does that mean, for anyone who included LaTeX in their answers before this setting was added, they now need to do either of the following:

    1. go through each of those old questions and tick that box manually

    or

    2. remember to tick that box when they make an edit to that question

    This seems a bit odd. What was the logic behind not instead adding a checkbox to remove the slashes, so that it wouldn’t affect any old questions?

    Plugin Support Jasmine

    (@hyenokian)

    Dear @ucdguy,

    Thank you for your reply.

    If you want to edit the old questions, then unfortunately, you will need to tick this option every time.

    But for the newly created questions, if you have already ticked the option, then it will work on them as well.

    Also, we have the Strip slashes for answers for a new question option.

    See the screenshot below:

    Enable this option and the Strip slashes for answers option will be ticked for a new question by default.

    Let me know if I can be of any further assistance.

    Thank you.

    Thread Starter Ari123

    (@ucdguy)

    Hi,

    Than you for the quick reply.

    I still think it’s bad practice that a plugin update has now forced any user who was previously using LaTeX in their answers to now have to either 1) go through all of their previous questions to tick a box or to 2) remember that they need to tick that box if they make any edit to an old question.

    I’m not quite sure what the logic was with adding this setting, but it would have much more sense to instead default to including slashes in the answers and to also have an option to remove the slashes, rather than the other way around, so that old questions that included LaTeX were not affected.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Backslashes being stripped?’ is closed to new replies.