mirror of
https://github.com/ziglang/zig.git
synced 2026-02-14 21:38:33 +00:00
parent
3607d9ee68
commit
437c6a4b7e
@ -1432,7 +1432,7 @@
|
||||
line.type = "ul";
|
||||
line.text = line.text.substr(1);
|
||||
}
|
||||
else if (line.text.match(/\d+\./)) {
|
||||
else if (line.text.match(/^\d+\..*$/)) { // if line starts with {number}{dot}
|
||||
const match = line.text.match(/(\d+)\./);
|
||||
line.type = "ul";
|
||||
line.text = line.text.substr(match[0].length);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user