Vid 1877

Do you have to trim $galleryContent here again since it was already trimmed on line 147?