mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-18 12:12:43 +00:00
Force \page on V3 to be alone on line.
This commit is contained in:
@@ -45,7 +45,7 @@ const PrintPage = createClass({
|
||||
key={index} />;
|
||||
});
|
||||
} else {
|
||||
return _.map(this.state.brewText.split(/^\\page/gm), (pageText, index)=>{
|
||||
return _.map(this.state.brewText.split(/^\\page$/gm), (pageText, index)=>{
|
||||
pageText += `\n\\column\n `; //Artificial column break at page end to emulate column-fill:auto (until `wide` is used, when column-fill:balance will reappear)
|
||||
return (
|
||||
<div className='page' id={`p${index + 1}`} key={index} >
|
||||
|
||||
Reference in New Issue
Block a user