[#98] Attachment URL included in caption text on edit

Editing caption text in photography subspace prefixes caption text with the title. Repeatedly editing (and not altering) caption adds multiple copies of title!

Correction: it's not the title that's added, it's the URL of the image in my /u/... directory!

#bug โœ”๏ธŽ

๐Ÿž Issue #98 in s/Bubble-Issues

๐Ÿš€ stack

2023-08-11 ยท 3 years ago

3 Comments โ†“

๐ŸŒ† skyjake [mod...] ยท 2023-08-13 at 13:57:

@stack Did you use the "Paste Preceding Line" when doing the edit? That would indeed include the "=> URL" part in the beginning of the link to the attachment, and you'd have to manually delete it during each edit.

It should be possible to detect if the entered caption begins with the attachment URL and remove it automatically.

๐Ÿš€ stack [OP] ยท 2023-08-13 at 15:24:

Yes. It's no biggie once you realize it, but I wound up with 4 copies prepended before I noticed!

Commit 3ad4443b ยท Strip URL/link from image caption when editing

2023-10-28 ยท 3 years ago

๐ŸŒ† skyjake [mod...] ยท 2023-10-28 at 11:29:

Fix will be included in v6.14.