View Single Post
Old 10-16-2020, 06:26 PM   #1
steve100
Junior Member
steve100 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Oct 2020
Device: Kindle paperwhite
Something in Sigil disturbs my tags

I'm using Sigil 1.3.0 on Windows 7 64-bit.

I seem to be going around in circles with formatting my book.
My book is organized so that it has every chapter in it's own file.
I have a working CSS stylesheet.
I am working partially from NotJohn's guide.
I have gone through and re-edited issues in all the files countless times.

But something keeps messing with my html tags.

For instance, certain operations will change:
<p><h2 id="sigil_toc_id_1">ABOUT THIS BOOK</h2></p>

to invalidate my <p> tags:
<p></p>
<h2 id="sigil_toc_id_1">ABOUT THIS BOOK</h2>
<p></p>

But whatever is doing it, does this to all the p-tags in all the chapters when it happens.
So if I have <p class="first">here's some text</p>
It will get changed to <p class="first"></p>here's some text<p></p>

I have found a few things that change all my tags:
Generate Table of Contents
Open Files
Saving Files
changing the name of a chapter file in the Book Browser column

When this happens, I have to go through my book, line by line, and change back all my tags to the way I had them. Have I missed something obvious?
steve100 is offline   Reply With Quote