我正在尝试显示以下行:
<div id="theDiv">
Well, here is the function we have been talking of $$y = ln(e|^[| sin(|x|) |] |)$$ so thats the beauty.
</div>
由于这个 div 的内容是动态加载的,我应用 M.parseMath(theDiv);
它工作正常,但函数 $$y = ln(e|^[| sin(|x|) |] |)$$ 正在自己的新行中显示。
Well, here is the function we have been talking of
$$y = ln(e|^[| sin(|x|) |] |)$$ (See this is on a line of its own!)
so thats the beauty.
为什么是新线 - 如何避免这种情况?