Fix rendering in slim templates.