Jump to content

Recommended Posts

Posted

[math]\sqrt{x}[/math]

 

When you click on LaTeX images a window pops up with this link that goes to nowhere:

 

Click here to see a LaTeX guide.

 

Also when you hover over the image a blurb appears that incorrectly says:

 

\\sqrt{x}

 

It appears you need to run stripslashes() on the title and alt attribute.

Posted

I read this and tried to remember to fix it, but promptly forgot. The reason for this apparent oversight is because in order to pass the string to the JavaScript function, all the backslashes have to be double backslashed (otherwise it reads it as a control sequence, which is obviously not what I want). I used the same in the title/alt because I'm lazy and forgot :P

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.