Commit 97d862a4 authored by Anthony Ryan's avatar Anthony Ryan

Specify the precise version of IE referenced in this problem

parent f6b279ce
...@@ -955,7 +955,7 @@ Licensed under the MIT license. ...@@ -955,7 +955,7 @@ Licensed under the MIT license.
// accept various kinds of newlines, including HTML ones // accept various kinds of newlines, including HTML ones
// (you can actually split directly on regexps in Javascript, // (you can actually split directly on regexps in Javascript,
// but IE is unfortunately broken) // but IE < 9 is unfortunately broken)
var lines = (t.label + "").replace(/<br ?\/?>|\r\n|\r/g, "\n").split("\n"); var lines = (t.label + "").replace(/<br ?\/?>|\r\n|\r/g, "\n").split("\n");
for (var j = 0; j < lines.length; ++j) { for (var j = 0; j < lines.length; ++j) {
var line = { text: lines[j] }, var line = { text: lines[j] },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment