Fixed typo that caused gallery close tag not to render.