# How can we prevent MathJax from inserting line-breaks inside of keyboard HTML tags? [closed]

How do I remove the line-break between $$Te$$ and $$X$$ inside of $$TeX$$?

Right-click on the equation with your computer mouse and select

$$\qquad$$ show math asshow $$\TeX$$

• I would suggest not putting MathJax within the kbd HTML tag in the first place. I believe this question arose from your recent answer to 'How to view LaTeX source of equations?' but you'll notice that the menu item only says "TeX commands" and not "$\TeX$ commands". (As an aside, there is no need to typeset MathJax as $\mathcal{MathJax}$. Just see how it is done on the official website: mathjax.org/.) Sep 23 at 11:05
• You posed a problem(?) with markup functionality, but supply no real motivation for what you want to do. @TheAmplitwist has done the research to form an educated guess, but few of your Readers will be so insightful. It is helpful to explain why you are trying to do something, giving Readers a better chance to supply solutions. Sep 27 at 16:49