As seen here:
The text replacement in the code blocks should not be happening.
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.