Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Stefano Sabatini authored on 2013/03/20 04:34:42... | ... |
@@ -121,7 +121,7 @@ INF: while(<$inf>) { |
121 | 121 |
$chapters{$chapter_name} .= postprocess($chapter) if ($chapter_name); |
122 | 122 |
|
123 | 123 |
# start new chapter |
124 |
- $chapter_name = $1, push (@chapters_sequence, $chapter_name); |
|
124 |
+ $chapter_name = $1, push (@chapters_sequence, $chapter_name) unless $skipping; |
|
125 | 125 |
$chapters{$chapter_name} = "" unless exists $chapters{$chapter_name}; |
126 | 126 |
$chapter = ""; |
127 | 127 |
$output = 1; |