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)



Download (untitled) / with headers
text/plain 176b
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>
Download (untitled) / with headers
text/plain 252b
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?
Download (untitled) / with headers
text/plain 408b
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.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.