And I'd bet that the old IPB 3 code isn't updated so we also need to check [attachment={id}:{name}].
The first two codes should be removed as we show attachments anyways, the third one needs to be updated. Also the regex for this needs to be added as one of the first things, otherwise the parser would try to generate a link with an image.
IPB 4 doesn't have a proper Attachment code, instead it inserts them as a link:
Non-images:
Images:
Inline Images:
And I'd bet that the old IPB 3 code isn't updated so we also need to check
[attachment={id}:{name}]
.The first two codes should be removed as we show attachments anyways, the third one needs to be updated. Also the regex for this needs to be added as one of the first things, otherwise the parser would try to generate a link with an image.