Skip to content

Commit

Permalink
Merge pull request #290 from wsexport/titlepage-css
Browse files Browse the repository at this point in the history
Add stylesheet to title page
  • Loading branch information
cimurah authored Dec 15, 2020
2 parents 526a5c0 + c425499 commit 88ee8c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Generator/EpubGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,7 @@ private function getXhtmlTitle( Book $book ) {
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="' . $book->lang . '" dir="' . Util::getLanguageDirection( $book->lang ) . '">
<head>
<title>' . htmlspecialchars( $book->name, ENT_QUOTES ) . '</title>
<link type="text/css" rel="stylesheet" href="main.css" />
</head>
<body style="background-color: ghostwhite; text-align: center; margin-right: auto; margin-left: auto; text-indent: 0;">
<h2>' . htmlspecialchars( $book->name, ENT_QUOTES ) . '</h2>
Expand Down

0 comments on commit 88ee8c9

Please sign in to comment.