old_contents: """Docx renderer module."""
  
  import pydocx
  from mfr import RenderResult
  
  
  def render_docx(fp, *args, **kwargs):
      return RenderResult(content=pydocx.Docx2Html(fp.name).parsed, assets={})
  
new_contents: """Docx renderer module."""
  
  import pydocx
  from mfr import RenderResult
  
  
  def render_docx(fp, *args, **kwargs):
      content = pydocx.Docx2Html(fp.name).parsed
      return RenderResult(content=content, assets={})
  
subject: split line for clarity