Math Latex breaks and is not rendering + Formatting breaks

Home Forums Legacy Support Support queries How-to & Troubleshooting Math Latex breaks and is not rendering + Formatting breaks

Viewing 15 posts - 1 through 15 (of 24 total)
  • Author
    Posts
  • #374494
    amishbhavsar_136
    Participant
    Hi, I have over 13,000 questions in WPLMS and most use this format: $latex ({{7}^{2}+{{6}^{2}}})-({{8}^{2}}-{{6}^{2}})$ These were added before you changed to 4.x React JS based text editor with the $ sign based Math input that you show here: https://youtu.be/1VaONSQlL4o The 3.x way is not rendering the math equations correctly. See how it shows here: https://prnt.sc/1z6nyqw Also, notice the loss of formatting to the body of the question too It is supposed to be like this: https://prnt.sc/1z6od2q but is showing like this: https://prnt.sc/1z6ojpy Question 1: How do I get the Math Latex rendering fixed across all the thousands of questions on my website? Question 2: How do I get the question text formatting fixed across all the questions?
    #374671
    amishbhavsar_136
    Participant
    Any update on the above ticket?
    #374705
    Anshuman Sahu
    Keymaster
    Well previously as well we recommended to use the [latex] shortcode instead of the $latex syntax prefix since we execute the shortcode in the question details . We need to know which plugin you are using for latex?
    #374803
    amishbhavsar_136
    Participant
    Hi, I am using Jetpack. But, also, what about the formatting break? I noticed the loss of formatting to the body of the question too It is supposed to be like this: https://prnt.sc/1z6od2q but is showing like this: https://prnt.sc/1z6ojpy
    #374832
    Anshuman Sahu
    Keymaster
    Does this formatting break happens in explanation or actually in the question content itself? If question created using new front end creator then this should not happen .
    #374850
    amishbhavsar_136
    Participant
    Hi Alex, As I mentioned in my first message that these questions were created in 3.x version. It was working fine. but now the formatting is a mess. I have over 13,000 questions. I cannot manually go and recreate them in the front end creator. Pls help.
    #374851
    amishbhavsar_136
    Participant
    In fact, I am so frustrated with this issue that I don't mind reverting back to 3.x version. Is there a way to do it?
    #374868
    Anshuman Sahu
    Keymaster
    Sure please just share your quiz name and the question screenshot along with your site url and admin credentials in private reply
    #374878
    amishbhavsar_136
    Participant
    This reply has been marked as private.
    #374934
    Anshuman Sahu
    Keymaster
    Hi we checked this out this needs fixing at code level for this please share your valid ftp credentials in private reply . meanwhile im sharing a code which may or may not fix the issue . try adding this code wplms-customizer.php file in wplms customizer plugin : remove_all_filters('vibebp_the_content')
    #374957
    amishbhavsar_136
    Participant
    This reply has been marked as private.
    #375015
    Veronica
    Moderator
    This reply has been marked as private.
    #375047
    amishbhavsar_136
    Participant
    Hi, It is still not fixed. The formatting is still broken.
    #375095
    Anshuman Sahu
    Keymaster
    Hi I added this code :
    
    add_filter('vibebp_the_content',function($content){
        $txt = str_replace(array("\r\n","\r","\n"), "<br>",$content);
    
        return $txt;
    });
    #375286
    amishbhavsar_136
    Participant
    Hi, Now the question content is completely missing :( See here: https://prnt.sc/20xhykx After you edited the code, even the course test formatting is messed up. See here: https://prnt.sc/20xhyem Guys, this is really bad. I am losing customers as the site is getting bad reviews due to buggy WPLMS. I am seriously thinking of moving to another more stable and reliable LMS if this isn't fixed ASAP.
Viewing 15 posts - 1 through 15 (of 24 total)
  • The topic ‘Math Latex breaks and is not rendering + Formatting breaks’ is closed to new replies.