import jinja2


def _format_reproduction_help(reproduction_help):
  """Format a reproduction help string as HTML (linkified with break tags)."""
  if not reproduction_help:
    return ''

  return jinja2.utils.urlize(reproduction_help).replace('\n', '<br>')