Don't automatically link images.

This commit is contained in:
flash 2019-01-02 23:18:38 +01:00
parent 374f9cf699
commit b4d621df4f

View file

@ -12,6 +12,6 @@ final class ImageTag extends BBCodeSimpleTag
public function getReplacement(): string public function getReplacement(): string
{ {
return '<a href="$1" target="_blank" rel="noreferrer noopener"><img src="$1" alt="$1" style="max-width:100%;max-height:100%;"></a>'; return '<img src="$1" alt="$1" style="max-width:100%;max-height:100%;">';
} }
} }