![]() |
|
Zenphoto 1.4.5 - html markup validation issue? - 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: Zenphoto 1.4.5 - html markup validation issue? (/thread-11084.html) |
Zenphoto 1.4.5 - html markup validation issue? - Ra10 - 2013-05-26 Hi, first of all thanks for the great work to all zenphoto contributors. I am currently theming a gallery page with 1.4.5 dev-build. In my templates I use printCustomSizedImageThumbMaxSpace a lot, which works fine except W3C validation. The image URL looks like: As you know the & should be replaced by '& amp;' Therefore I tried something like: Question: Is this a bug remaining in 1.4.5 or a "feature"? If it is a feature, what would be the correct output statement to use for getting valid html in a theme file? Thank you very much in advance Zenphoto 1.4.5 - html markup validation issue? - acrylian - 2013-05-26 I just looked, the internally used printCustomSizedImage() function uses pathurlencode() actually... Probably an oversite. Best you open a ticket on the issue tracker. Generally that image processor link should appear only once until the image is cached. Then the proper link to the cache should appeard (which has no ampersamds). Zenphoto 1.4.5 - html markup validation issue? - Ra10 - 2013-05-26 Hi, However, one small ampersand-issue remains when applying printSearchForm(), which outputs the following line: Zenphoto 1.4.5 - html markup validation issue? - sbillard - 2013-05-26 That is not coming from Zenphoto 1.4.5 - html markup validation issue? - Ra10 - 2013-05-26 Sorry, the wrong HTML line is generated by printLoginForm... |