Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to Codidact Meta!

Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.

Comments on Post body does not render outside of preview

Post

Post body does not render outside of preview

+6
−1

A specific question that was just submitted, doesn't render its body except for when previewing the post during editing. It's not rendered on the question page, not on the comment page, nor is the post body provided as an excerpt on the posts list page. It's in the database, though, as it's available and loaded up when editing it, for both the author and other accounts.

Video capture of the offending post and the behaviour when opening the editing page for it

The question was submitted from an instance of Brave, on Windows 11 24H2 Pro. Question where the bug resides: https://software.codidact.com/posts/293621


Another example: https://software.codidact.com/posts/293664 (Only part of the body is rendered)

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.
Why should this post be closed?

3 comment threads

What was the part missing in your second example? (7 comments)
Another occurrence (2 comments)
First revision shows in edit history (1 comment)
What was the part missing in your second example?
trichoplax‭ wrote 1 day ago

Thanks for the second example.

You link to https://software.codidact.com/posts/293664 but this now shows correctly (at least for me). Was there something missing before the edit? Did you get a screenshot or could you describe which part was missing?

Franck Dernoncourt‭ wrote about 22 hours ago

trichoplax‭ ah I forgot not to edit it. The image wasn't showing before I made the edits. (Even after ctrl+F5 and waiting for a while)

trichoplax‭ wrote about 20 hours ago · edited about 4 hours ago

Thanks for the extra info. I've tested in development and that is the result of adding an image as the last step before pressing Save Post, so it's a separate bug from yours: Editor preview left outdated after adding content without the keyboard. I've linked to this bug from that one for reference. Unlike this one, that one can be worked around by clicking in the Body field again after adding the image, so that the image appears in the preview before pressing save. If you forget to do that, as you've seen, editing the post also makes the image appear.

trichoplax‭ wrote about 20 hours ago

In case the first example you mention in your post also relates to this other bug: did you make that post by pasting in text with a mouse rather than using the keyboard?

You should be able to do that - it's not a complaint. It just might not work as intended yet so it would be good to know what led to the bug so we know what to fix.

Franck Dernoncourt‭ wrote about 20 hours ago

trichoplax‭ great, I was planning to open bug report for it, I'll add my screen recordings to it. I think the bug I saw in this second example was different though (wasn't only in preview, but also after saving) but maybe I misremember. I also I don't remember how I made the first post :(

trichoplax‭ wrote about 4 hours ago

The preview reflects the HTML that will be saved behind the scenes, so if an image is missing from the preview it will also be missing from the saved post (I've edited my bug report to reflect that). Thanks for the screen recordings.

Between your bug report here and my bug report there, I think all the cases are covered. Don't worry about not remembering how you made the first post. No one is expecting you to screen record everything you do just in case... What you've added is useful - thank you.

trichoplax‭ wrote about 4 hours ago

Also thanks for hiding the animated content in a <details> tag - that's much appreciated.