CDATA "Facts" in REST API data shouldn't be encoded

TalkLibraryThing API Development

Join LibraryThing to post.

CDATA "Facts" in REST API data shouldn't be encoded

This topic is currently marked as "dormant"—the last message is more than 90 days old. You can revive it by posting a reply.

1lizadaly
Dec 11, 2008, 9:17 pm

The contents of nodes are coming through as escaped CDATA:

<!CDATA "'God's in his heaven, all's right with the world,'" whispered Anne softly. >

This should actually be:

(although it would be better to be not CDATA at all, just plain text.)

2lizadaly
Dec 11, 2008, 9:18 pm

This message has been deleted by its author.

3lizadaly
Dec 11, 2008, 9:20 pm

(the forum software pretty much ate my sample code)

4conceptDawg
Dec 12, 2008, 10:50 am

I'll take a look at it.