forked from qt-creator/qt-creator
accept whitespace between \l and target
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user