Commit 24e1ffb1 authored by Oswald Buddenhagen's avatar Oswald Buddenhagen

accept whitespace between \l and target

parent 11622e4a
......@@ -27,7 +27,7 @@ while (<FILE>) {
} else {
if (/^\h*\\endlist/) {
$intoc--;
} elsif (/^\h*\\o\h+\\l{(.*)}$/) {
} elsif (/^\h*\\o\h+\\l\h*{(.*)}$/) {
push @toc, $1;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment