Added <span> around the rendered caption to allow for CSS formatting.