You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: note_versions_helper.rb
    path of file: ./repos/e621ng/app/helpers
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

module NoteVersionsHelper
  def note_version_body_diff_info(note_version)
    previous = note_ver
    
  def note_version_body_diff_info(note_version)
    previous = note_version.previous
    if note_version.body == previous&.body
      tag.span("(body not changed)", class: "inactive")
    else
      ""
    end