From 024a62d29f6166ad303f67e568be99b8bbbac910 Mon Sep 17 00:00:00 2001
From: Michael Reed <michael@michaelreed.io>
Date: Sun, 28 Jun 2020 20:20:39 -0400
Subject: [PATCH] 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.
---
 src/plfa/dedication.md | 17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)

diff --git a/src/plfa/dedication.md b/src/plfa/dedication.md
index 585dc757..ccbe0ff4 100644
--- a/src/plfa/dedication.md
+++ b/src/plfa/dedication.md
@@ -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>