Meta description and social media previews include image filenames instead of just text

Steps to reproduce

Create a note with Obsidian Publish that doesn’t have a custom description property set and publish with Obsidian Publish and put an image at the top of the note.

Did you follow the troubleshooting guide? Y

Expected result

The description should start with the first XXX chars of the note text and should not include image file names.

Actual result

The meta description and social media previews starts with the filename of the image. This ugly and undesirable for obvious reasons.

Environment

SYSTEM INFO:
Obsidian version: v1.5.3
Installer version: v1.4.13
Operating system: Darwin Kernel Version 23.2.0: Wed Nov 15 21:54:10 PST 2023; root:xnu-10002.61.3~2/RELEASE_X86_64 23.2.0
Login status: logged in
Catalyst license: none
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: off
Plugins installed: 0
Plugins enabled: 0


Additional information

Others have had ongoing problems with meta descriptions and setting a custom description is not a reliable fix - Description metadata seems to be ignored by Obsidian Publish - #4 by ptaoussanis

I think you should open a feature request for this. Thanks!

Description should work. If it doesn’t work open a separate bug report and I’ll look into that