-
-
Notifications
You must be signed in to change notification settings - Fork 135
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
Delimiters not created correctly in MathJax.Hub.Config #60
Comments
I wonder if this is an Opal error that we'll need to work around. Aha, I think I see it. We are relying on the to_s export of an array to do the right thing and this is where Opal gets confused. We'll need to be more explicit about how we construct this JavaScript string in core. Let's get this fixed for 1.5.2 upstream (core). |
I've made the necessary change upstream. Now, we'll need a spec to verify the output to ensure it doesn't break in the future. |
@mojavelinux @nerk I believe Asciidoctor.js 1.5.2 had resolved this issue ? |
I'm quite certain it does. I'll wait to get the ack from @nerk. |
@mojavelinux @Mogztter Yes, this issue is resolved! |
Hooray |
The asciidoctor.js generated MathJax.Hub.Config script block is incorrect and differs from the one created by Ruby Asciidoctor (tested with 1.5.0 and 1.5.1).
This node.js sample code
embeds this
non-working configuration block into HTML.
The correct one created by Ruby Asciidoctor looks like this:
The text was updated successfully, but these errors were encountered: