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

master
Timon Kruiper 2019-10-28 19:54:21 +01:00 committed by Andrew Kelley
parent f2d0d9820d
commit 03603ea353
1 changed files with 1 additions and 1 deletions

View File

@ -1369,7 +1369,7 @@
line.text = line.text.substr(1);
}
else if (line.text.match(/\d+\./)) {
const match = line.match(/(\d+)\./);
const match = line.text.match(/(\d+)\./);
line.type = "ul";
line.text = line.text.substr(match[0].length);
line.ordered_number = Number(match[1].length);