Quote:
Originally Posted by Tex2002ans
Also, (ugly hack), I saw a Stack Exchange answer mentioning sticking a zero-width joiner (‍) between the st to stop the ligature from working:
Code:
<p>This is a tes‍ting word</p>
|
Well, this is totally freaky. I only just now started taking a look at all the various stuff I need to fix up, but I was especially curious about the above, and just tried it out.
It works! Or seems to, but it's very strange what happens in my code when I do use that character entity.
I type in this, where I'd wanted that...
Code:
<i> Laſ‍t Folio.</i>
..and as soon as I do it comes out exactly as I wanted, the lig doesn't render out.
But then when I save my book, it disappears! Or, rather, it doesn't disappear, but the "visible" character entity disappears, and yet it's still there, still preventing my lig to render out. It's like that character entity gets converted into an
actual zero-width joiner. My code -- as soon as I save -- changed from the above to this...
Code:
<i> Laſ*t Folio.</i>
That zero-width joiner is still there, but invisible.
Oh, how weird. When I copy/paste that bit of code here into this forum post, and then preview my post (and only
after I preview my post, not before), that zero-width joiner gets converted to an asterisk! Definitely not so in my epub, though -- as I said, in there it's literally invisible, with no space or anything in-between the long-s and t characters.
EDIT/FOLLOW-UP: Oh, bummer. While that ‍ trick does seem to work out nicely in Sigil, when I look at my book in ADE it doesn't, my lig ends up rendering out anyway. Oh well. Perhaps I'm just better off sticking with my original kludge.
Mind you, I still have all that other stuff you mentioned to look at and check over -- we'll see what happens, where I end up here with all that.