Home › Forums › Legacy Support › Support queries › How-to & Troubleshooting › Math Latex breaks and is not rendering + Formatting breaks
- This topic has 23 replies, 3 voices, and was last updated 2 years, 11 months ago by Anshuman Sahu.
-
AuthorPosts
-
November 11, 2021 at 7:26 pm #374494amishbhavsar_136ParticipantHi, 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?November 15, 2021 at 7:10 pm #374671amishbhavsar_136ParticipantAny update on the above ticket?November 16, 2021 at 1:22 pm #374705Anshuman SahuKeymasterWell 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?November 18, 2021 at 7:06 pm #374803amishbhavsar_136ParticipantHi, 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/1z6ojpyNovember 19, 2021 at 1:16 pm #374832Anshuman SahuKeymasterDoes 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 .November 19, 2021 at 8:25 pm #374850amishbhavsar_136ParticipantHi 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.November 19, 2021 at 8:42 pm #374851amishbhavsar_136ParticipantIn 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?November 20, 2021 at 2:24 pm #374868Anshuman SahuKeymasterSure please just share your quiz name and the question screenshot along with your site url and admin credentials in private replyNovember 20, 2021 at 5:48 pm #374878amishbhavsar_136ParticipantThis reply has been marked as private.November 22, 2021 at 4:39 pm #374934Anshuman SahuKeymasterHi 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')
November 22, 2021 at 10:19 pm #374957amishbhavsar_136ParticipantThis reply has been marked as private.November 23, 2021 at 12:02 pm #375015VeronicaModeratorThis reply has been marked as private.November 24, 2021 at 1:38 am #375047amishbhavsar_136ParticipantHi, It is still not fixed. The formatting is still broken.November 24, 2021 at 1:38 pm #375095Anshuman SahuKeymasterHi I added this code :add_filter('vibebp_the_content',function($content){ $txt = str_replace(array("\r\n","\r","\n"), "<br>",$content); return $txt; });
November 27, 2021 at 2:34 am #375286amishbhavsar_136ParticipantHi, 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. -
AuthorPosts
- The topic ‘Math Latex breaks and is not rendering + Formatting breaks’ is closed to new replies.