Skip to content

Commit 7886ac6

Browse files
committed
Remove whiteline pagebreak option
1 parent 804becc commit 7886ac6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/plugin/pagebreaks.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ var orig = {
1010

1111
// Add pageBreak default options to the Worker template.
1212
Worker.template.opt.pageBreak = {
13-
mode: ['css', 'legacy'], // 'avoid-all', 'css', 'legacy', 'whiteline'
13+
mode: ['css', 'legacy'], // 'avoid-all', 'css', 'legacy'
1414
before: [],
1515
after: [],
1616
avoid: []
@@ -27,8 +27,7 @@ Worker.prototype.toContainer = function toContainer() {
2727
var mode = {
2828
avoidAll: modeSrc.indexOf('avoid-all') !== -1,
2929
css: modeSrc.indexOf('css') !== -1,
30-
legacy: modeSrc.indexOf('legacy') !== -1,
31-
whiteline: modeSrc.indexOf('whiteline') !== -1
30+
legacy: modeSrc.indexOf('legacy') !== -1
3231
};
3332

3433
// Get arrays of all explicitly requested elements.

0 commit comments

Comments
 (0)