tag:support.markedapp.com,2011-09-11:/discussions/problems/155663-crashes-too-often-when-editing-mathjaxMarked: Discussion 2019-11-02T21:12:20Ztag:support.markedapp.com,2011-09-11:Comment/477921902019-11-01T10:16:42Z2019-11-01T10:16:42ZCrashes too often when editing MathJax<div><p>Please attach a sample document that exhibits the issue.</p>
<p>Thanks,<br>
Brett</p></div>Bretttag:support.markedapp.com,2011-09-11:Comment/477921902019-11-01T18:57:21Z2019-11-01T18:57:21ZCrashes too often when editing MathJax<div><p>Hello,<br>
Attached is a sample document, and also an error report generated by "Send to Apple" that I copied and pasted into a text file. The crash happens randomly when I'm editing the math in a text editor while previewing it on the side.<br>
Regards,<br>
Haotian</p>
<p>Haotian Yang<br>
424-387-9693<br>
<a href="mailto:yangvz@icloud.com">yangvz@icloud.com</a></p></div>icloud.comtag:support.markedapp.com,2011-09-11:Comment/477921902019-11-01T22:13:57Z2019-11-01T22:13:57ZCrashes too often when editing MathJax<div><p>I'm unable to replicate your crash locally. The crash log indicates that it was indeed a hang in the javascript processor (likely mathjax), but no amount of editing the test file )(inside or outside of the equations) has had any ill effects on my development machine.</p>
<p>Is there anything else you can tell me about the conditions that precipitate the crash? Do you notice Marked slowing down first? Failing to update?</p></div>Bretttag:support.markedapp.com,2011-09-11:Comment/477921902019-11-01T23:41:28Z2019-11-01T23:41:29ZCrashes too often when editing MathJax<div><p>Hello,</p>
<p>Mostly there isn't any slowing down. The application just quits (as it tries to render the math), and after a short while the Send to Apple dialog pops up.</p>
<p>That and also maybe it's because I'm on macOS Catalina. In fact, I was using a markdown preview plugin in Chrome before the OS update, but after the update it fails to render some of the MathJax blocks, so I had to switch. It may be something funny in the Javascript engine.</p>
<p>Also, a problem probably just with MathJax, is that the attached sample fails to render properly (shown in the attached image). It can be fixed by inserting spaces next to the inequality signs. See if you can reproduce that.</p>
<p>Hope it's helpful.</p>
<p>Regards,<br>
Haotian</p>
<p>Haotian Yang<br>
424-387-9693<br>
<a href="mailto:yangvz@icloud.com">yangvz@icloud.com</a></p></div>icloud.comtag:support.markedapp.com,2011-09-11:Comment/477921902019-11-02T11:24:38Z2019-11-02T11:24:38ZCrashes too often when editing MathJax<div><p>I'm testing on Catalina and not seeing any issues on my machine, so I<br>
don't think that's the problem. And if it's just the JavaScript engine,<br>
there should be a hang, not a crash, so that's weird as well. I'll be<br>
digging further into the crash report this weekend.</p>
<p>As far as your test equation, the <code><x</code> portions are being recognized as<br>
the start of HTML tags, leading to strange rendering. You can see what<br>
I'm talking about by right clicking on the results that do show up and<br>
choosing Inspect Element. Spaces after each less than symbol are the<br>
recommended solution.</p>
<p>-Brett</p></div>Bretttag:support.markedapp.com,2011-09-11:Comment/477921902019-11-02T21:10:44Z2019-11-02T21:10:45ZCrashes too often when editing MathJax<div><p>Hello Brett,</p>
<p>Thanks for the effort. I will try to more carefully observe the conditions under which the crash occurs and report to you.</p>
<p>Also, a trivial feature request: to collapse multiple continuous empty lines into one, so that the latex definitions don't occupy a big blank space on the top of the page. I'm not sure if it's in the preferences somewhere though. But if not, please consider it.</p>
<p>Regards,<br>
Haotian</p>
<p>Haotian Yang<br>
424-387-9693<br>
<a href="mailto:yangvz@icloud.com">yangvz@icloud.com</a></p></div>icloud.comtag:support.markedapp.com,2011-09-11:Comment/477921902019-11-02T21:12:20Z2019-11-02T21:12:20ZCrashes too often when editing MathJax<div><p>Update: Nevermind, I found the option to collapse empty lines.</p>
<p>Haotian Yang<br>
424-387-9693<br>
<a href="mailto:yangvz@icloud.com">yangvz@icloud.com</a></p></div>icloud.com