commit 0d0264e3c054f73c8012e57428cb5c30aba6d11e Author: cypherpunks cypherpunks@torproject.org Date: Fri Feb 10 09:43:55 2017 +0000
Remove the newline from the data URIs
According to the W3C validator service line breaks are illegal characters in data URIs. Removing them does not change functionality.
Closes #21429. --- js/views/details/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/js/views/details/main.js b/js/views/details/main.js index 24c0064..9006c94 100644 --- a/js/views/details/main.js +++ b/js/views/details/main.js @@ -171,7 +171,7 @@ define([ .node() .innerHTML; d3.select("#save_" + g) - .attr("href", "data:image/svg+xml;base64,\n" + btoa(html)); + .attr("href", "data:image/svg+xml;base64," + btoa(html)); }, render: function() { var data = {relay: this.model};
tor-commits@lists.torproject.org