def diff_renderer
      @diff_renderer ||= if current_version.item_type.include? "Decidim::Proposals"
                           Decidim::Proposals::DiffRenderer.new(current_version)
                         elsif current_version.item_type.include? "Decidim::Accountability"
                           Decidim::Accountability::DiffRenderer.new(current_version)
                         end
    end
def diff_renderer
      @diff_renderer ||= if current_version.item_type.include? "Decidim::Proposals"
                           Decidim::Proposals::DiffRenderer.new(current_version)
                         elsif current_version.item_type.include? "Decidim::Accountability"
                           Decidim::Accountability::DiffRenderer.new(current_version)
                         end
    end
Caches a DiffRenderer instance for the `current_version`.