In my Django template I have the following code:

```
series: [{
    name: 'Ratings',
    data: [
    {% for item in graph_data %}
    {
        name: "{{item}}",
        x: Date.UTC({{item.date.year}},{{item.date.month}},{{item.date.day}}),
        y: {{item.rating}}

    },
    {% endfor %}
    ]
}]

```

However, when the name has a single quote in it, such as:

```
The Story Behind 'Toy Story'

```

On the graph it gets displayed as:

```
The Story Behind %#39;Toy Story&#39;

```