this post was submitted on 06 Jan 2026
3 points (80.0% liked)

PieFed help

1639 readers
29 users here now

It's seems right that we should have a local community to help us all with PieFed

Rules

Be kind! We're all learning

founded 2 years ago
MODERATORS
 

example reproduction __CODE_PLACEHOLDER_1____CODE_PLACEHOLDER_1____CODE_PLACEHOLDER_1____CODE_PLACEHOLDER_1____CODE_PLACEHOLDER_1____CODE_PLACEHOLDER_1__ __CODE_PLACEHOLDER_2____CODE_PLACEHOLDER_2____CODE_PLACEHOLDER_2____CODE_PLACEHOLDER_2____CODE_PLACEHOLDER_2____CODE_PLACEHOLDER_2__ __CODE_PLACEHOLDER_3____CODE_PLACEHOLDER_3____CODE_PLACEHOLDER_3____CODE_PLACEHOLDER_3____CODE_PLACEHOLDER_3____CODE_PLACEHOLDER_3__ __CODE_PLACEHOLDER_4____CODE_PLACEHOLDER_4____CODE_PLACEHOLDER_4____CODE_PLACEHOLDER_4____CODE_PLACEHOLDER_4____CODE_PLACEHOLDER_4__ __CODE_PLACEHOLDER_5____CODE_PLACEHOLDER_5____CODE_PLACEHOLDER_5____CODE_PLACEHOLDER_5____CODE_PLACEHOLDER_5____CODE_PLACEHOLDER_5__ __CODE_PLACEHOLDER_6____CODE_PLACEHOLDER_6____CODE_PLACEHOLDER_6____CODE_PLACEHOLDER_6____CODE_PLACEHOLDER_6____CODE_PLACEHOLDER_6__ __CODE_PLACEHOLDER_7____CODE_PLACEHOLDER_7____CODE_PLACEHOLDER_7____CODE_PLACEHOLDER_7____CODE_PLACEHOLDER_7____CODE_PLACEHOLDER_7__ test

you are viewing a single comment's thread
view the rest of the comments
[–] wjs018@piefed.wjs018.xyz 2 points 3 weeks ago

Ah, I see what is going on. This basically requires maliciously formatted markdown that takes advantage of some placeholder text we use to protect codeblocks from getting incorrectly formatted by the markdown_to_html function. You basically stuff the markdown full of those placeholder strings so that they are incorrectly being substituted.

I will give this one some thought. I think it might make sense to have something like a short, random string tacked onto the end of the placeholder text (like I did for the footnote links to prevent id collisions).