code: def remove_line_breaks(parts: List[str]):
      out = []
      for s in parts:
          out.append(s.replace("\n", " "))
      return out
  
file_path: nougat/nougat/dataset/parser/markdown.py
imports: from typing import Iterable, List, Optional, Tuple
  import re
  from uuid import uuid4
  from nougat.dataset.utils import normalize_tex
  from nougat.dataset.parser.document import *
  from nougat.dataset.parser.latexml_parser import _clean_html_whitespace
  from unidecode import unidecode
label_desc: Use image node_id 2 for calling a global function with example usage: remove_line_breaks(parts) and returns: out