diff --git a/docs/01-Line-Chart.md b/docs/01-Line-Chart.md
index 3dc606337..4a0306d06 100644
--- a/docs/01-Line-Chart.md
+++ b/docs/01-Line-Chart.md
@@ -94,7 +94,7 @@ These are the customisation options specific to Line charts. These options are m
datasetFill : true,
{% raw %}
//String - A legend template
- legendTemplate : "
-legend\"><% for (var i=0; i- \"><%if(datasets[i].label){%><%=datasets[i].label%><%}%>
<%}%>
"
+ legendTemplate : "-legend\"><% for (var i=0; i- \"><%if(datasets[i].label){%><%=datasets[i].label%><%}%>
<%}%>
"
{% endraw %}
};
```
diff --git a/docs/02-Bar-Chart.md b/docs/02-Bar-Chart.md
index b4253e746..38b2ea0a6 100644
--- a/docs/02-Bar-Chart.md
+++ b/docs/02-Bar-Chart.md
@@ -78,7 +78,7 @@ These are the customisation options specific to Bar charts. These options are me
barDatasetSpacing : 1,
{% raw %}
//String - A legend template
- legendTemplate : "-legend\"><% for (var i=0; i- \"><%if(datasets[i].label){%><%=datasets[i].label%><%}%>
<%}%>
"
+ legendTemplate : "-legend\"><% for (var i=0; i- \"><%if(datasets[i].label){%><%=datasets[i].label%><%}%>
<%}%>
"
{% endraw %}
}
```
diff --git a/docs/03-Radar-Chart.md b/docs/03-Radar-Chart.md
index 0707444b7..03dcf6e83 100644
--- a/docs/03-Radar-Chart.md
+++ b/docs/03-Radar-Chart.md
@@ -110,7 +110,7 @@ These are the customisation options specific to Radar charts. These options are
datasetFill : true,
{% raw %}
//String - A legend template
- legendTemplate : "-legend\"><% for (var i=0; i- \"><%if(datasets[i].label){%><%=datasets[i].label%><%}%>
<%}%>
"
+ legendTemplate : "-legend\"><% for (var i=0; i- \"><%if(datasets[i].label){%><%=datasets[i].label%><%}%>
<%}%>
"
{% endraw %}
}
```