old_contents: import tempfile
  
  
  def help_repath(path):
      f = tempfile.NamedTemporaryFile(suffix='.html', delete=False)
  
      with f as temp:
          data = open(path, 'r')
          text = data.read()
          text = text.replace('../../', '')
          temp.write(text)
          # temp.seek(0)
          # repath = temp.read()
          # print repath
  
      h = f.name
      return h.replace('\\', '/')
  
new_contents: import tempfile
  import platform
  
  
  def help_repath(path):
      f = tempfile.NamedTemporaryFile(suffix='.html', delete=False)
  
      with f as temp:
          data = open(path, 'r')
          text = data.read()
          text = text.replace('../../', '')
          temp.write(text)
          # temp.seek(0)
          # repath = temp.read()
          # print repath
          h = f.name
  
      system = platform.system()
  
      if system == 'Windows':
          h.replace('\\', '/')
  
      return h
  
subject: Add Windows check for ui_help.py to replace '\\' with '/'