Skip to content

Commit

Permalink
Fix kobo css
Browse files Browse the repository at this point in the history
  • Loading branch information
pgaskin committed Jul 28, 2017
1 parent 180aa72 commit 9ea0a38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kepub/content.go
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ func process(content *string) error {
}

// Kobo style fixes
h = strings.Replace(h, "</head>", "<style>div#book-inner{margin-top: 0;margin-bottom: 0;}</style></head>", 1)
h = strings.Replace(h, "</head>", "<style type=\"text/css\">div#book-inner{margin-top: 0;margin-bottom: 0;}</style></head>", 1)

*content = h

Expand Down

0 comments on commit 9ea0a38

Please sign in to comment.