Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CHTML-preview leaves preview if custom script tags are used directly #975

Closed
pkra opened this issue Dec 15, 2014 · 5 comments

Comments

Projects
None yet
2 participants
@pkra
Copy link
Member

commented Dec 15, 2014

@pkra

This comment has been minimized.

Copy link
Member Author

commented Dec 16, 2014

An empty MathJax_Preview element prevents the problem; see http://jsbin.com/pakoxe/3/edit

@dpvc dpvc added the Accepted label Dec 17, 2014

@dpvc dpvc added this to the MathJax 2.5 milestone Dec 22, 2014

dpvc pushed a commit to dpvc/MathJax that referenced this issue Dec 26, 2014

@dpvc

This comment has been minimized.

Copy link
Member

commented Dec 26, 2014

It turns out that the preview element is recorded before the input jax runs, and since the CHTML-preview is inserted during the input post-filter, it was being added too late to be recorded.

I have foxed the problem in the CHTML-preview branch of my fork of MathJax. You can merge it with v2.5-alpha, and repack.

@dpvc

This comment has been minimized.

Copy link
Member

commented Dec 30, 2014

=> Merged.

@dpvc dpvc added Merged and removed Ready for Review labels Dec 30, 2014

@dpvc dpvc closed this Dec 30, 2014

dpvc pushed a commit to mathjax/MathJax-test that referenced this issue Jan 13, 2015

@dpvc dpvc added Test Available and removed Test Needed labels Jan 13, 2015

@dpvc

This comment has been minimized.

Copy link
Member

commented Jan 13, 2015

=> In Testsuite

Parsing/issue975.html

@pkra

This comment has been minimized.

Copy link
Member Author

commented Jan 14, 2015

I think I marked this as Needs Documentation to remember to document the CHTML-preview extension; this has been done as part of mathjax/MathJax-docs#83 so I'm removing the tag.

@dpvc dpvc added Fixed v2.5 and removed Merged labels Jan 30, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.