From: yankee Date: Wed, 20 Aug 2014 14:09:10 +0000 (+0200) Subject: Replace ' ' with ' ', so that the legend works in XHTML pages as well X-Git-Tag: v1.1.0~50^2 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;ds=sidebyside;h=19eba230a90258b5a73b76b012cb7191e40343a8;hp=88bbada8ddcef3861b258b865be65ab579efbcfb;p=dygraphs.git Replace ' ' with ' ', so that the legend works in XHTML pages as well --- 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; };