I have forgotten

• https://me.yahoo.com

# Incorrect equation image for HTML and URL link options

29 Apr 20, 10:50AM
(2 replies)
Incorrect equation image for HTML and URL link options
I created the following expression,

Error,%,\epsilon,%=\frac{measured-actual}{actual}=\frac{\epsilon}{actual}

When I generate a URL link for this expression and then load the URL into a web browser,

http://latex.codecogs.com/gif.latex?Error,%,\epsilon,%=\frac{measured-actual}{actual}=\frac{\epsilon}{actual}

the resulting image shows only the word 'Error'; the remainder of the expression is missing.
1 May 20, 1:57PM
Hi.

Thanks for report this bug. It has been added to our bug list and we aim to have a fix in the next 24 hours.

CodeCogs
1 May 20, 5:46PM
Hi,

This problem has now been fixed. The error arises with the use of the %. Technically within latex you cannot just use '%' you have to put a backslash before this, creating '\%'. Given that I can not envisage any situation where someone needs to use the % without the proceeding backslash; we now add this automatically.

However, there is another problem that we must address also. The % symbol is also used in URL encoding. For example '%45' is the letter 'E'. Our backend system assumes URL encoding has been applied, however if the front end application hasn't URL encoding the string before sending it to our backend service then we may inadvertently decode something that hadn't previously been encoded. We therefore decode any sequence that contains %## where # are both hexadecimal values, otherwise we assume they are unrelated and process them as above.

Hope this works for you now

Codecogs.