diff --git a/docs/01-Line-Chart.md b/docs/01-Line-Chart.md
index 8d164ffb2..a4b508e77 100644
--- a/docs/01-Line-Chart.md
+++ b/docs/01-Line-Chart.md
@@ -100,7 +100,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 %}
//Boolean - Whether to horizontally center the label and point dot inside the grid
diff --git a/docs/02-Bar-Chart.md b/docs/02-Bar-Chart.md
index cc23f38b7..6911db900 100644
--- a/docs/02-Bar-Chart.md
+++ b/docs/02-Bar-Chart.md
@@ -84,7 +84,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 03dcf6e83..aff5a00db 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 %}
}
```
diff --git a/docs/04-Polar-Area-Chart.md b/docs/04-Polar-Area-Chart.md
index 016a45f3c..47c9a74d0 100644
--- a/docs/04-Polar-Area-Chart.md
+++ b/docs/04-Polar-Area-Chart.md
@@ -102,7 +102,7 @@ These are the customisation options specific to Polar Area charts. These options
animateScale : false,
{% raw %}
//String - A legend template
- legendTemplate : "-legend\"><% for (var i=0; i- \"><%if(segments[i].label){%><%=segments[i].label%><%}%>
<%}%>
"
+ legendTemplate : "-legend\"><% for (var i=0; i- \"><%if(segments[i].label){%><%=segments[i].label%><%}%>
<%}%>
"
{% endraw %}
}
```
diff --git a/docs/05-Pie-Doughnut-Chart.md b/docs/05-Pie-Doughnut-Chart.md
index db2d9efd8..d50e2867c 100644
--- a/docs/05-Pie-Doughnut-Chart.md
+++ b/docs/05-Pie-Doughnut-Chart.md
@@ -88,7 +88,7 @@ These are the customisation options specific to Pie & Doughnut charts. These opt
animateScale : false,
{% raw %}
//String - A legend template
- legendTemplate : "-legend\"><% for (var i=0; i- \"><%if(segments[i].label){%><%=segments[i].label%><%}%>
<%}%>
"
+ legendTemplate : "-legend\"><% for (var i=0; i- \"><%if(segments[i].label){%><%=segments[i].label%><%}%>
<%}%>
"
{% endraw %}
}
```