![]() |
|
HTML Tags at top of Admin - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: HTML Tags at top of Admin (/thread-6901.html) |
HTML Tags at top of Admin - roboticsguy1988 - 2010-04-11 Hello i just installed Zen Photo to try it out and i noticed one of the oddest things i have ever seen. Zen photo keeps having random HTML tags pop up in absolutely random places. Here is an example http://lawrenceejohnston.com/Capture.JPG and another http://lawrenceejohnston.com/Capture2.JPG The only think i can think of is i recently edited my PHP.ini file.. but the settings are typical of any web server that i have ever ran. If anyone has any ideas on what could be causing this and a solution i would be very appreciative. Thanks! HTML Tags at top of Admin - acrylian - 2010-04-11 Not your fault, this is actually a known bug in Webkit browsers like Safari or Chrome with JavaScript code. It always happens on the first page load and goes away if reloading the page. It does not happen in Internet Explorer or Firefox. Sorry, but sadly we have no solution for this as all code is actually correct. Even some tricks from the net like placing the code at the bottom of a page did not help. If anyone hase we would be grateful as my main browser is also Safari and I am actually annoyed by this, too. Update: Well, seems I am not right. This is related to javascript code not being escaped using CDDATA correctly. Probably we missed it somewhere. HTML Tags at top of Admin - roboticsguy1988 - 2010-04-11 I was totally unaware of a CDATA escape. So i read up on it here http://www.howtocreate.co.uk/tutorials/javascript/incorporate . So will this possibly be fixed in the next release of Zen Photo? HTML Tags at top of Admin - kagutsuchi - 2010-04-11 The fix has already been committed in SVN (changeset [5238]). If you need the fix now, you can try installing the nightly build once it's generated tonight. Also, the change will be included in the next release. HTML Tags at top of Admin - roboticsguy1988 - 2010-04-11 Wow talk about speedy service! You guys are awesome! Thanks for the help and introducing me to the CDATA escape! HTML Tags at top of Admin - acrylian - 2010-04-11 Well, actually it still appears in some places where js is called within a ` |