fixed redcarpet helper to properly include CSS classes for images