[Solved] I'm a little confused about the Fix HTML - all files Tool
This is the first unexpected behavior I ran into. I had the following:
<p class="calibre2">Chapter 2 — Qwerty</p>
I replaced all, to swap the <p class="calibre2">Chapter with <h2>Chapter and ended up with:
<h2>Chapter 2 — Qwerty</p>
I ran the Fix HTML - all files Tool and ended up with:
</h2><h2>Chapter 2 — Qwerty</p>
The </h2> was closing the Chapter 1 <h2> tag. What I expected was:
<h2>Chapter 2 — Qwerty</h2>
Was my expectation unreasonable?
What would be a better method to make this <p> to <h2> change keeping in mind the second part (Qwerty) is different for every chapter?
Last edited by DoctorOhh; 04-02-2014 at 02:53 AM.
|