Downloading local copies of images should not change text in code blocks

AI-generated summary

Users have reported an issue where downloading local copies of images causes unintended changes to text within code blocks. supermathie initially highlighted the problem with screenshots showing the unexpected text replacement. sam acknowledged the complexity of the issue and suggested waiting for more reliable reverse HTML to Markdown mapping before addressing it, noting that it’s a massive edge case. supermathie confirmed the issue persists and provided additional screenshots. Moin encountered the same problem and suggested merging this topic with a related one.

As seen here:

The text replacement in the code blocks should not be happening.

5 Likes

It is a tough one, @tgxworld and I in the past had a system that attempted the change and then recooked to confirm only the right pieced get touched.

I think we probably should wait a bit longer here on @renato till we have more reliable reverse html → markdown mapping. Even just being able to consistently map to line vs char would be a help here.

I thought @david was across this code at some point as well.


Clearly nothing urgent here, it is a massive edge case.

4 Likes

Yeah, I can’t imagine it’s super common.

Also, the job ran again after I edited it and undid the fix, so it only made changes in code blocks this time, not outside:

3 Likes

That happened to me today too. And while searching for this topic, I also found this one:

Perhaps this should be moved there.

2 Likes