| author | |
| committer | |
| log | 437c6a4b7ef115208ae84a938f989b92fb282c39 |
| tree | 388336bcde4bab38ce90eb46545512e513abe899 |
| parent | 3607d9ee6821f524e2866f8ca44a5d577495d762 |
Fixes #37221 files changed, 1 insertions(+), 1 deletions(-)
lib/std/special/docs/main.js+1-1| ... | ... | @@ -1432,7 +1432,7 @@ |
| 1432 | 1432 | line.type = "ul"; |
| 1433 | 1433 | line.text = line.text.substr(1); |
| 1434 | 1434 | } |
| 1435 | else if (line.text.match(/\d+\./)) { | |
| 1435 | else if (line.text.match(/^\d+\..*$/)) { // if line starts with {number}{dot} | |
| 1436 | 1436 | const match = line.text.match(/(\d+)\./); |
| 1437 | 1437 | line.type = "ul"; |
| 1438 | 1438 | line.text = line.text.substr(match[0].length); |