FIX: Better composer placeholder handling during media optimization (PR #13907)

GitHub

This pull request has been mentioned on Discourse Meta. There might be relevant details there: