Repair single page documentation generator

This commit is contained in:
Stéphane Goetz
2017-12-11 22:25:45 +01:00
parent e12465b4de
commit da522ba2d3
2 changed files with 9 additions and 2 deletions

View File

@ -95,7 +95,7 @@ class Book
protected function generateCover()
{
return "<div style='margin:4em 30% 4em 0;'>" .
return "<div>" .
"<h1 style='font-size:40pt; margin-bottom:0;'>{$this->cover['title']}</h1>" .
"<p><strong>{$this->cover['subject']}</strong> by {$this->cover['author']}</p>" .
'</div><div class="page-break">&nbsp;</div>';