Remove Text\BBCode::scaleExternalImage

- Image size is a CSS concern, not a PHP one
This commit is contained in:
Hypolite Petovan 2023-01-23 20:40:20 -05:00
parent 23e0ce3c1b
commit b4cbe4250e
3 changed files with 1 additions and 71 deletions

View file

@ -145,9 +145,6 @@ class Markdown
// remove duplicate adjacent code tags
$s = preg_replace('/(\[code\])+(.*?)(\[\/code\])+/ism', '[code]$2[/code]', $s);
// Don't show link to full picture (until it is fixed)
$s = BBCode::scaleExternalImages($s);
DI::profiler()->stopRecording();
return $s;
}