fix export page breaks

This commit is contained in:
John McLear 2013-11-20 17:18:06 +00:00
parent 96766a7c3e
commit 6d2081c59d
2 changed files with 2 additions and 2 deletions

View file

@ -14,7 +14,7 @@ exports.getLineHTMLForExport = function (hook, context) {
var header = _analyzeLine(context.attribLine, context.apool);
if (header) {
var inlineStyle = getInlineStyle(header);
return "<sup>" + context.text.substring(1) + "</sup>";
return "<span style='page-break-before: always'>" + context.text.substring(1) + "</span>";
}
}

View file

@ -16,7 +16,7 @@ iframe.page_view {
padding:100px !important;
background-color:#fff;
min-height:800px;
top:150px;
top:50px;
}
}