code: def _clean_paragraphs(txt):
      """Split the text into paragraphs, preserve newlines within the paragraphs."""
      # Strip both leading and trailing newlines.
      txt = txt.strip("\n")
      paragraphs = txt.split("\n\n")
      cleaned_paragraphs = [
          "\n".join(_clean(line) for line in paragraph.split("\n"))
          for paragraph in paragraphs
      ]
      return cleaned_paragraphs
  
file_path: streamlit/lib/streamlit/config_util.py
imports: import re
  from typing import Dict
  import click
  import toml
  from streamlit.config_option import ConfigOption
label_desc: Use image node_id 4 for calling a global function with example usage: _clean_paragraphs(txt) and returns: cleaned_paragraphs