I’m getting the following error when I open the epub created by the new 3.4 release in Sigil:
Here is the offending HTML in body30.xhtml:
<p class="ps15">Perhaps the decision to delegate the search for serialization deals was due to the rejection by the American Nature Association in the previous letter. Subsequent correspondence does reveal that there was one successful serialization deal.<a href="footnotes.xhtml#fn48" class="fn-marker" id="fn48">48</a></div></p>
The error Sigil reports is “Opening and ending tag mismatch: p line 26 and div”. There does indeed seem to be a stranded div end tag.
Looking at the other offending file, I find in both cases the problem is the last paragraph in the file and both end with a footnote–perhaps a clue. Here is the end chunk of the other file:
<p class="ps11">Major Wood had placed Grey Owl at Lake Ajawaan in 1931 and had Beaver Lodge built to meet his specifications. Wood later defended him when officials in Ottawa raised doubts about the value of retaining his services. He was with Grey Owl when he died on 13 April 1938, reporting "At 8.25 in the morning, he died very quietly, and pictures taken show that the congestion in his lungs [pneumonia] was very slight, which all goes to prove that he had absolutely no resistance whatever." After Grey Owl’s death, Wood was one of the diehards that refused to believe the allegations against him for some time. After finally giving in, Wood wrote “I care not whether he was an Englishman, Irishman, Scotsman or Negro. He was a great man with a great mind, and with great objectives which he ever kept before him.”<a href="footnotes.xhtml#fn82" class="fn-marker" id="fn82">82</a></div></p>
</body>
</html>