Options

Escaping my html descriptions?

scottVscottV Registered Users Posts: 354 Major grins
Not sure exactly when this started but I just noticed when adding new photos through the api with html descriptions the ' and " characters are getting escaped. so <a href="http://smugmug.com"&gt; turns into <a href=\"http://smugmug.com\"&gt; this makes the links not work at all ... i've gone back and removed the \ manually in all the images & updated my app to not wrap the items in quotes.. was this intentional?

Comments

  • Options
    devbobodevbobo Registered Users, Retired Mod Posts: 4,339 SmugMug Employee
    edited January 29, 2008
    f00sion wrote:
    Not sure exactly when this started but I just noticed when adding new photos through the api with html descriptions the ' and " characters are getting escaped. so <a href="http://smugmug.com"&gt; turns into <a href=\"http://smugmug.com\"&gt; this makes the links not work at all ... i've gone back and removed the \ manually in all the images & updated my app to not wrap the items in quotes.. was this intentional?

    Hey f00sion,

    Can you please tell specifically which methods you are calling and on what api version?

    Thanks,

    David
    David Parry
    SmugMug API Developer
    My Photos
  • Options
    scottVscottV Registered Users Posts: 354 Major grins
    edited January 29, 2008
    1.2.1
    smugmug.images.uploadFromURL
Sign In or Register to comment.