Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
in Q2A Core by
I want to set forum which contains many math equations, using MathJax.

After I put an equation, it always append a line break: <br>, that makes line space too big and ugly.

How to remove this line break?
Q2A version: 1.7.4

1 Answer

+1 vote
If you use $-$ equation comes in inline. $$-$$ is for newline. But these can be changed in MathJax configuration. You may also try this plugin or copy-paste the Q2A js file mentioned to ensure Math gets rendered with Ajax.

Thank you, arjunsuresh.
however, I haven't solved my problem.
I use $$-$$, because $-$ doesn't work.
and I use Basic Editor, because other Editor does something I don't know.
I still don't know where came from the extra <br>, from mathjax or another php file?
Hence I don't know howto remove <br>

the only thing I did is put following lines in the <head>
<script type="text/javascript" async

Any comments?