Commit 03603ea353

Timon Kruiper <timonkruiper@gmail.com>
2019-10-28 19:54:21
Std docs: Fix a js error that would cause some function to be not rendered
1 parent f2d0d98
Changed files (1)
lib
std
special
docs
lib/std/special/docs/main.js
@@ -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);