I am using Moodle 2.4 with Drag Math. When I insert a simple equation and then display it in preview that equation does appear but not in line with the text. A number of blank rows are inserted before that equation appears almost at the bottom of the page. When I see the html code I find it is OK and no paragrapghs get inserted. Here is the code:

*<p>Sample Statistic: Sample statistic is a numerical charteristics of a sample often used in making estimates of corresponding population parameters.$$ \sqrt{x} $$ For example, $$ \overline{x} $$ is used to estimate μ.</p>**<p>Standard error: Standard deviation of a point estimator.</p>*

Of Course. here everything is getting displayed OK but not on my machine.

I will be very grateful for the solution.