Arr2
Virgin
- Joined
- May 15, 2024
- Posts
- 10
I had some fairly ambitious formatting in a story I posted where I wanted some blocks of text to be right-formatted AND have line breaks:
In other words, I wanted that code to generate three lines of text that were right-justified.
The Preview function of the story displayed text as intended. This is a test-post recreation, but confirms what I saw:

However, the formatting of the actual published story turned out to be broken, only right-aligning the first line and left-justifying the others:

My theory is that Literotica's code is breaking on the actual carriage return after the <br>... that is, the act of my putting in a hard return is being intrepretted by Literotica as saying, "Oh, you want this to be a new (left-aligned) paragraph."
This is somewhat confirmed by looking at the code of the actual posted text:
Under this theory, if I were to format my text in this fashion:
...that might do what I want.
Regardless, another forum poster noted that a discrepancy between Preview and Published text is something that should be reported... which is why I'm here in the technical forum.
Speaking selfishly, I also need to figure out how to get my story fixed. However, before I submit to the weeks-long process of trying to get an edited version posted, I'd love any insight from someone on the tech side to confirm my theory ("Yeah, just delete the line breaks after <br>, ya ninny!"). Also, if any tech folks go tracking down my story, please note that a LOT of formatting broke between my submitted (Preview-confirmed) version and the published one... the snippet above was just a representative, easy-to-understand example.
Thanks for any help!
Code:
<p align="right"><i>So, why can't you see?</i><br>
<i>You belong with me</i><br>
<i>You belong with me</i></p>
In other words, I wanted that code to generate three lines of text that were right-justified.
The Preview function of the story displayed text as intended. This is a test-post recreation, but confirms what I saw:

However, the formatting of the actual published story turned out to be broken, only right-aligning the first line and left-justifying the others:

My theory is that Literotica's code is breaking on the actual carriage return after the <br>... that is, the act of my putting in a hard return is being intrepretted by Literotica as saying, "Oh, you want this to be a new (left-aligned) paragraph."
This is somewhat confirmed by looking at the code of the actual posted text:
Code:
<p align="right"><i>So, why can't you see?</i><br></p><p><i>You belong with me</i><br></p><p><i>You belong with me</i></p>
Under this theory, if I were to format my text in this fashion:
Code:
<p align="right"><i>So, why can't you see?</i><br><i>You belong with me</i><br><i>You belong with me</i></p>
Regardless, another forum poster noted that a discrepancy between Preview and Published text is something that should be reported... which is why I'm here in the technical forum.
Speaking selfishly, I also need to figure out how to get my story fixed. However, before I submit to the weeks-long process of trying to get an edited version posted, I'd love any insight from someone on the tech side to confirm my theory ("Yeah, just delete the line breaks after <br>, ya ninny!"). Also, if any tech folks go tracking down my story, please note that a LOT of formatting broke between my submitted (Preview-confirmed) version and the published one... the snippet above was just a representative, easy-to-understand example.
Thanks for any help!