Five_Inch_Heels
Unexpected
- Joined
- Nov 28, 2015
- Posts
- 4,812
^^^Keep it really simple, works just as well. I reckon people get far too caught up in formatting
Just do it.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
^^^Keep it really simple, works just as well. I reckon people get far too caught up in formatting
Not centering the scene breaks works. It's a major issue for older stories that may use the centering. It used to work -- it broke about a week into the winter holiday contest a few months ago.
...the visual impact of the typography and the typesetting does have an impact on the way readers react to a piece. It's important.
Considering how resource-strapped the devs of Lit are, I am strongly inclined to give them a pass for implementing changes that reduce their maintenance burden. Especially since supporting ancient browsers is and always has been a total PITA.There was a similar code library change a few years ago where Literotica simply no longer worked on older browsers. (...)
The way I remember it, somebody found examples of the bug breaking the centering with each possible method.I don't remember where I read this now, but I believe that centering using <p align="center"> confuses the generator, but <div align="center"> (deprecated) works.
This bug hit my last story, which is identical in format to all of my earlier stories, and even so it didn't kill all of my scene breaks, only about half of them, so it's intermittent. I just submitted an edited version of my last story with scene breaks coded as
<p><div align="center">~ ~ ~ ~ ~</div></p>
Of course, since it's an edit, I'll find out if it works in about two months.
especially since the Lit's processing algorithm in the preview turns it into:
HTML:<p></p> <div align="center">~ ~ ~ ~ ~</div> <p></p>
I’d considered posting an edit explaining the current problems. But with them taking so long to publish, I had rather hoped that the issue would have been resolved by now. I suppose I was too optimistic. I’m still using centered text in my stories in the hope that they sort it out at some point. Left justified dividers look so amateurish to me.But they supported centering for a quarter century and blessed its mention in @FrancesScott wonderful HTML piece.
Centering works fine in preview. It also works fine when you navigate to the next page and then hit refresh. I agree that it’s something that should be sorted out, but not sure where it is in @Manu’s, no doubt lengthy, backlog.I saw that while I was experimenting with coffee in the story preview, but I'm not sure that the story preview HTML breasts much relation to the published page.
I use <div> for dividers as it supports a shortened <hr>. It suffers from the same issue of disappearing dividers. I just checked on my latest published story.I don't remember where I read this now, but I believe that centering using <p align="center"> confuses the generator, but <div align="center"> (deprecated) works.
This bug hit my last story, which is identical in format to all of my earlier stories, and even so it didn't kill all of my scene breaks, only about half of them, so it's intermittent. I just submitted an edited version of my last story with scene breaks coded as
<p><div align="center">~ ~ ~ ~ ~</div></p>
Of course, since it's an edit, I'll find out if it works in about two months.
I’m actually considering adding a note to the beginning of my WIP saying there is a bug and to refresh when you move to a new page. It seems bizarre that it hasn’t been fixed, but it’s just how it is.
That’s even more bizarre!Be warned - I tried that and it was removed.
I don't discount the effect of beautifully rendered content, but I'm practical in the face of glitches and things that go wrong with formatting.It's important. I'm particularly surprised that @ElectricBlue discounts this effect out of hand; at times your writing so beautifully captures the ethereal ways we absorb the world around us. You understand that so well about the world, it surprises me you don't understand that's how people react to the visual aspects of reading. Yes, the readers will figure it out. But it will be a less satisfying experience to them, even if most of them have no idea why.
That has puzzled me, too. I have never seen a title fail using the same code. But then not every scene separator fails. It seems quite random. I wonder if either the titles are succeeding by random (unlikely) or the bug only appears partway through the page generation. Titles are safe because they're at the beginning.Something strange I have noticed about this bug. Centered chapter titles still show for me (and for some other authors whose work I have checked). It’s only centered dividers that don’t. And I’ve noticed that the centered dividers can be just plain text (say ‘* * *’) with the same HTML code (say both <p>…</p>) as a title, and yet they don’t show while the titles do. I can’t get my head around this.
Hmm. And it isn't as random as I thought. I just revisited my story The Franchise, which has / is supposed to have lots of scene breaks for the vignettes and there's a pattern.Something strange I have noticed about this bug. Centered chapter titles still show for me (and for some other authors whose work I have checked). It’s only centered dividers that don’t. And I’ve noticed that the centered dividers can be just plain text (say ‘* * *’) with the same HTML code (say both <p>…</p>) as a title, and yet they don’t show while the titles do. I can’t get my head around this.
It’s very weird for sure. I don’t see why:Hmm. And it isn't as random as I thought. I just revisited my story The Franchise, which has / is supposed to have lots of scene breaks for the vignettes and there's a pattern.
On Lit page 1 there's a title and multiple scene breaks, each of which works fine. (Centered ~~~~~)
On each of pages 2-4 the first 4 scene breaks are missing. Every one after that is present. So it seems that something in the page generation code is triggering the bug. Eventually the bug ends and the rest of the page is fine. The count of 4 seems strange, but with only three samples maybe that's random.
Which would mean that titles work fine because they're on the first Lit page.
I can't fathom why the scene breaks reappear on later viewing.
If you look at the source, rather than using browser inspect, it seems that every line of text (enclosed in <p> - </p>) has a marker like that. I don't know why inspect doesn't show that. Maybe it's showing it on the missing separator because the html <p></p> with no content is illegal.It's a strange bug. I used the debug tools in my browser to look at the HTML.
This is before a refresh. There should be a * * * before Afterword, but all I get is an empty paragraph with some random data attribute.
View attachment 2600432
Run it through a validator like https://validator.w3.org. Tons of errors and warnings. Many on stray closing a tags.The separator has a nested <p>. Is that legal? I'm pretty sure it isn't. And what's with all the anchor tag endings (</a>) in the source? I just noticed those.