View Single Post
Old 07-17-2017, 08:35 AM   #4
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,695
Karma: 205039118
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by tetrault View Post
I have chapters with:
<body style="my style choices">
<p>My text 1.</p>
<p>My text 2.</p>
etc.

Sigil repeatedly changes that to:
<body>
<p style="my style choices">My text 1.</p>
<p style="my style choices">My text 2.</p>
etc.

It does this for some chapters in my book but not others. I can find no explanation for this bizarre behavior. Any ideas?
Can you give detailed steps to make this happen? Even editing in Book View (or reformatting/prettifying) I can't duplicate what you describe.

EDIT: I've seen some elements pick up some of their parents' attributes when deleting/reinserting linebreaks in BookView, but that's just par for the course when editing in Book View. It does what it thinks is best to maintain the look that is desired. But I've never seen Book View editing remove attributes from a parent element before.

As others have mentioned: if you have very specific coding conventions that you would prefer to maintain, then editing in Book View is not something you want to do.

Last edited by DiapDealer; 07-17-2017 at 11:23 AM.
DiapDealer is offline   Reply With Quote