View Single Post
Old 02-04-2024, 10:08 PM   #9268
applegaa
Connoisseur
applegaa has learned how to buy an e-book online
 
applegaa's Avatar
 
Posts: 73
Karma: 76
Join Date: Apr 2019
Device: none
Quote:
Originally Posted by JimmXinu View Post
New Test Version Posted

2024-01-15
- Allow image/comic (/i/) and poems (/p/) on literotica


It's not quite that simple, but it also doesn't seem to be much more complex.

Literotica site is kind of a pain to support and I don't read it, so I don't have many examples to test with. No promises this change will stay if it breaks normal stories.
Unfortunately, it looks like this did add a bug to regular stories. I can't say for sure from my limited data, but the problem seems to have started after I installed this test version.

The problem is that it adds the word "None" at the end of each page. Here's an example:

Spoiler:

Code:
<p>With his head stuck in his scope and headphones attuned to listening for ambient but important signals, Michaels was too occupied to be watching the visual feeds. The sudden gasps and cries on the bridge was the only warning he had before a feedback loop the likes he had never experienced or could have imagined hit his instruments and he felt consciousness slip away as the hum of the ship beneath also slipped into silence.<br/>
</p>
None<p>Captain du Pont called for Michaels’ replacement to try and hail the Panzer.</p>


It also inserts one at the end of the story, as that is also the end of a page.

Spoiler:

Code:
I never bought into that mindset; somewhere deep down I have too much faith in humanity.</i></p>
None
</body>
</html>


I pulled up the page source for several stories and none of them have the word "None" where it could be grabbed. Also, there is no HTML formatting like it does for actual story text, so it seems to be some sort of programming check getting written to the output by mistake.

I took a look at the adapter code and debug log, but I'm just learning Python and wasn't able to figure anything out.

- Andrew
applegaa is offline   Reply With Quote