Images with relative paths not showing

Images with relative paths not showing

I have a problem with JQM not displaying images when they have a relative path.

My HTML source shows <img src="path/to/image.jpg"> but if I look at the same piece of code using firebug in FireFox, I see <img src="http://mysite.com/categorypath/to/image.jpg"

JQM is prefixing my image incorrectly with http://mysite.com/category

If I hit the browser refresh button JQM leaves the path alone and the images display correctly.

Is there any way I can stop it messing with the path?