markdown_preview: Fix alt text causing mismatched highlighting runs (#40374)

Fixes ZED-277

Release Notes:

- Fixed alt text in markdown preview creating inconsistent highlighting
cf49194819Lukas Wirth committed on 10/16/2025, 1:42:10 PM· committed by GitHubparentea6853d
1 file changedLine totals unavailable