![]() |
|
xmpMetadata and (X)HTML character references - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: Plugins (https://forum.zenphoto.org/forum-6.html) +--- Thread: xmpMetadata and (X)HTML character references (/thread-9460.html) |
xmpMetadata and (X)HTML character references - guilhem - 2012-01-08 Hello, I'm wondering, since XMP is XML-friendly, shouldn't xmpMetadata decode HTML characters references? xmpMetadata and (X)HTML character references - sbillard - 2012-01-08 The plugin probably should be decoding HTML entities. We will add that to the list. xmpMetadata and (X)HTML character references - guilhem - 2012-01-09 All right thanks If you want me to open a ticket just let me know. xmpMetadata and (X)HTML character references - sbillard - 2012-01-09 Normally, yes, but I have made the change and it will be in the nightly tonight. I would appreciate some testing, though. xmpMetadata and (X)HTML character references - guilhem - 2012-01-09 Wow, that was fast! xmpMetadata and (X)HTML character references - sbillard - 2012-01-10 It is hard to read/write html entities on a website. But it seems to me that what you are describing is that the translation fails when you have a naked ampersand preceding an entity. That is, of ocurse, not legal--ampersand is supposed to be represented by xmpMetadata and (X)HTML character references - guilhem - 2012-01-10 Oops, sorry for the mess. No I mean, if you write an entity that represents the ampersand, then in some cases the character that immediately follows is ignored. Try e.g., to render xmpMetadata and (X)HTML character references - sbillard - 2012-01-10 It looks like it is rendering correctly to me. However remember that the output may cause you issues: xmpMetadata and (X)HTML character references - guilhem - 2012-01-11 Ah? I know that xmpMetadata and (X)HTML character references - sbillard - 2012-01-11 No, I do not, I get as you expect. I am guessing that what you see is a result of the browser tyring to interpret the Anyway, I did my tests by saving the result to a disk file to keep the browser out of the picture. But I did notice that xmpMetadata and (X)HTML character references - guilhem - 2012-01-11 All right, thanks for your work. |