mirror of
https://github.com/Hopiu/ep_page_view.git
synced 2026-03-16 20:20:24 +00:00
fix export page breaks
This commit is contained in:
parent
96766a7c3e
commit
6d2081c59d
2 changed files with 2 additions and 2 deletions
2
index.js
2
index.js
|
|
@ -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>";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ iframe.page_view {
|
|||
padding:100px !important;
|
||||
background-color:#fff;
|
||||
min-height:800px;
|
||||
top:150px;
|
||||
top:50px;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue