authorgravatar for timonkruiper@gmail.comTimon Kruiper <timonkruiper@gmail.com> 2019-10-28 19:54:21+01:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-10-28 15:06:55-04:00
log03603ea35352769063610b55e3b6b770e3a98f34
tree67d8b567f7466175c491470680245ab4bfed88bb
parentf2d0d9820d9b20ddc61866d5fe2575cf80f4d9be

Std docs: Fix a js error that would cause some function to be not rendered


1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/special/docs/main.js+1-1
...@@ -1369,7 +1369,7 @@...@@ -1369,7 +1369,7 @@
1369 line.text = line.text.substr(1);1369 line.text = line.text.substr(1);
1370 }1370 }
1371 else if (line.text.match(/\d+\./)) {1371 else if (line.text.match(/\d+\./)) {
1372 const match = line.match(/(\d+)\./);1372 const match = line.text.match(/(\d+)\./);
1373 line.type = "ul";1373 line.type = "ul";
1374 line.text = line.text.substr(match[0].length);1374 line.text = line.text.substr(match[0].length);
1375 line.ordered_number = Number(match[1].length);1375 line.ordered_number = Number(match[1].length);