Quote:
Originally Posted by trekky0623
I just tried out v. 1.36. I only got one error this time:
Code:
Something went wrong while searching for start of highlight.
Was looking for (or one of the aliases of): Sarima
Searching in: <span class="chbeg" aid="LTSU6">S</span>ar*ima,” said her young*est sis*ter, “wake up. Nap*time’s over. We have a house*guest at sup*per, and I need to know if we have to kill a hen. There are so few left, and what we give the trav*eler we miss all winter in eggs <nobr class="calibre13">. . .</nobr> What do you think?”
It looks like the </span> tag is still causing a problem, but this is the only error I got, so every other HTML tag seems to have been fine.
|
Oops, my bad again. I made an error in the logic in that it assumes there is only either HTML tags in a string, or soft hyphens, not both. I'll have to make a larger regular expression that will match for all of them.
Quote:
Originally Posted by trekky0623
If this helps, these are the locations for the old version where I manually added soft hyphens and the locations for the new version:
The character's name is Oatsie, with a soft hyphen like Oat-sie, and given that in the new version the length appears to be 7 every time, and in the old version it's 8, I'm convinced it's due to soft hyphens being counted as 2 bytes rather than 1.
|
I think you're right. I had issues with that before, but I was hoping it would work itself out with the encoding change. I'll see if I can figure something out and PM you a new version to try.