From 19eba230a90258b5a73b76b012cb7191e40343a8 Mon Sep 17 00:00:00 2001 From: yankee Date: Wed, 20 Aug 2014 16:09:10 +0200 Subject: [PATCH 1/1] Replace ' ' with ' ', so that the legend works in XHTML pages as well --- plugins/legend.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/legend.js b/plugins/legend.js index 2ff9398..fb93b41 100644 --- a/plugins/legend.js +++ b/plugins/legend.js @@ -249,7 +249,7 @@ generateLegendHTML = function(g, x, sel_points, oneEmWidth) { // TODO(danvk): use a template string here and make it an attribute. html += "" + " " + - escapeHTML(pt.name) + ": " + yval + ""; + escapeHTML(pt.name) + ": " + yval + ""; } return html; }; -- 2.7.4