Misago icon indicating copy to clipboard operation
Misago copied to clipboard

Attachment markup updater explodes if attachment is used after quote

Open rafalp opened this issue 6 months ago • 2 comments

Troublesome post on Misago forums:

https://misago-project.org/t/deactivate-sslhttps-use-extern-reverse-proxy/1216/post/5854/

Markup:

[quote="@rafalp"]
AFAIR simplest way to achieve that is to create fork of `misago-docker` that deletes `nginx-lets-encrypt` from `docker-compose.yml` file.
[/quote]

[![grafik.png](/a/thumb/W4BU4idEGEfQD4RRalMaU3LloVyLgQvtqLK27VDWtvKBPS174jzZhb9s3BZDTmer/602/?shva=1)](/a/W4BU4idEGEfQD4RRalMaU3LloVyLgQvtqLK27VDWtvKBPS174jzZhb9s3BZDTmer/602/?shva=1)

Gets mangled into:

quote="@rafalp" <attachment=grafik.png:602>](/a/W4BU4idEGEfQD4RRalMaU3LloVyLgQvtqLK27VDWtvKBPS174jzZhb9s3BZDTmer/602/?shva=1)

rafalp avatar Jun 28 '25 20:06 rafalp

Hi, I am happy to help

raydeal avatar Aug 24 '25 14:08 raydeal

I am not sure anymore if this is good issue for takers. It'll require finding a way to use Misago's parser in a migration to find valid markdown links and then replace those links markup with attachment markup.

rafalp avatar Aug 24 '25 20:08 rafalp