Function: forge--sanitize-string

forge--sanitize-string is a natively compiled function defined in forge-core.el.

Signature

(forge--sanitize-string STRING)

Source Code

;; Defined in /nix/store/923zwib42c4qw6x4xps0cv1wi8qcd6lp-emacs-packages-deps/share/emacs/site-lisp/elpa/forge-20261005.753/forge-core.el
(defun forge--sanitize-string (string)
  ;; For Gitlab this may also be nil.
  (if string (string-replace "\r\n" "\n" string) ""))