forked from qt-creator/qt-creator
accept whitespace between \l and target
This commit is contained in:
@@ -27,7 +27,7 @@ while (<FILE>) {
|
|||||||
} else {
|
} else {
|
||||||
if (/^\h*\\endlist/) {
|
if (/^\h*\\endlist/) {
|
||||||
$intoc--;
|
$intoc--;
|
||||||
} elsif (/^\h*\\o\h+\\l{(.*)}$/) {
|
} elsif (/^\h*\\o\h+\\l\h*{(.*)}$/) {
|
||||||
push @toc, $1;
|
push @toc, $1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user