Fix remaining epubcheck warnings

HTML does not permit nested <p> elements, which epubcheck complains
about. This change fixes those remaining warnings.

This change also causes the Dedication on the website to be centered
when viewed in Safari, which it was not before. The EPUB output looks
the same in either version with Thorium reader 1.3 on macOS.
This commit is contained in:
Michael Reed 2020-06-28 20:20:39 -04:00
parent 80ba7fdfec
commit 024a62d29f

View file

@ -6,8 +6,17 @@ next : /Preface/
---
<p style="text-align:center;">
<p style="font-size:1.5em">de Philip, para Wanda</p>
<p style="font-size:1.17em">amor da minha vida</p>
<p style="font-size:1em">knock knock knock</p>
<p style="font-size:1em">...</p>
<span style="font-size:1.5em">de Philip, para Wanda</span>
</p>
<p style="text-align:center;">
<span style="font-size:1.17em">amor da minha vida</span>
</p>
<p style="text-align:center;">
<span style="font-size:1em">knock knock knock</span>
</p>
<p style="text-align:center;">
<span style="font-size:1em">...</span>
</p>