Reading view: an image's alt text keeps the markdown source (asterisks, backticks, link syntax)

Steps to reproduce

  1. Paste this into a note and open Reading view:

    ![foo *bar* `baz`](https://obsidian.md/images/obsidian-logo-gradient.svg)
    
  2. Inspect the image (right-click > Inspect, or hover in the developer tools) and read its alt attribute.

Did you follow the troubleshooting guide?

Yes (reproduced in the sandbox vault, no community plugins).

Expected result

The alt text is the plain text of the description: foo bar baz (CommonMark 0.31.2, examples 520, 573-577, 585, 589).

Actual result

alt="foo *bar* `baz`": the description’s source, markup included. With a link in the description, ![[[foo](uri1)](uri2)](uri3) gives alt="[[foo](uri1)](uri2)" where the spec gives [foo](uri2).

Environment

SYSTEM INFO:
	Obsidian version: 1.14.5
	Installer version: 1.14.4
	Operating system: Windows 11 Pro 10.0.26300
	Login status: not logged in
	Language: en
	Insider build toggle: off
	Live preview: on
	Base theme: adapt to system
	Community theme: none
	Snippets enabled: 0
	Restricted mode: on

RECOMMENDATIONS:
	none

Sandbox vault, no community plugins, default theme and settings.

Additional information

The alt text is what screen readers announce and what shows when an image fails to load, so the stray markup reaches users.