Skip Menu |

This queue is for tickets about the Template-Plugin-JSON CPAN distribution.

Report information
The Basics
Id: 68401
Status: resolved
Priority: 0/
Queue: Template-Plugin-JSON

People
Owner: Nobody in particular
Requestors: JIRA [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Hi, I've noticed a problem when using this to dump json into the template if the json contains a single quote. I think it needs to escape single quotes. Kind Regards, Jiri
Subject: Re: [rt.cpan.org #68401]
Date: Tue, 24 May 2011 11:34:01 +0300
To: bug-Template-Plugin-JSON [...] rt.cpan.org
From: Yuval Kogman <nuffin [...] cpan.org>
Hi, Can you provide an example of what you expected to get and what you got instead? BTW, if embedding in HTML it's sometimes appropriate to do something like: <blah onclick="foo([% foo.json | html %])"/> to escape entities. Is that what you mean?
On Tue May 24 04:34:35 2011, NUFFIN wrote: Show quoted text
> Hi, > > Can you provide an example of what you expected to get and what you got > instead? > > BTW, if embedding in HTML it's sometimes appropriate to do something like: > > <blah onclick="foo([% foo.json | html %])"/> > > to escape entities. Is that what you mean?
Hi, yes thanks. I was too quick to report a bug. I was just confused... Thank you, Jiri
It sounds like this is all sorted now.