View Single Post
Old 05-10-2016, 12:55 PM   #3
AlanHK
Guru
AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.
 
AlanHK's Avatar
 
Posts: 681
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
Quote:
Originally Posted by KevinH View Post
In general, doing anything that spans across tags in BookView is never recommended. You simply can not control beginning and end positions with enough precision based on just a BookView cursor position or highlight. Even something as easy as adding split markers when in BookView can have unexpected results.
I do little if any editing in book view, since it often creates a swarm of unwanted tags, nbsp, etc. I tried it here only because it seemed to save time, till I realised what it was really doing.


Quote:
Originally Posted by KevinH View Post
As to your particular bug, will you please show a larger snippet of the code so that we can see where exactly the font colour tag came from. It must be there close-by and your highlight must have touched upon it in some way.

Better yet ... please run a obfuscator or otherwise change just the text in that html file (if it is copyrighted and not public) keeping its exact tag structure and then zipping it up and posting it here, so that we can use it to try and reproduce what you are seeing and why it happens.
Sorry, the original "ALL CAPS" version is gone now, and I've done a fair bit of work on the file since.
There were no font or color tags at all in the original file.
It was generated using Sigil's "Create HTML Table of Contents".

I will see if I can recreate it and upload later.
AlanHK is offline   Reply With Quote