code: def _crlf_cr_2_lf_bin(s):
      return re.sub(b"\r\n|\r|\n", b"\n", s)
  
file_path: bokeh/tests/unit/bokeh/core/test_templates.py
imports: from __future__ import annotations
  import pytest
  import hashlib
  import re
  import sys
  from os.path import abspath, join, split
  from bokeh.embed import file_html
  from bokeh.plotting import figure
  from bokeh.resources import Resources, ResourcesMode
  import bokeh.core.templates
label_desc: Use image node_id 1 for calling a global function with example usage: _crlf_cr_2_lf_bin(s) and returns: re