Don't automatically link images.
This commit is contained in:
parent
374f9cf699
commit
b4d621df4f
1 changed files with 1 additions and 1 deletions
|
@ -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%;">';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue