def _replace_characters(s: str) -> str:
    """Replace characters that are not suitable to present in Labber.

    Returns:
        Labber compatible string.
    """
    if not s:
        return ""
    chars = [
        ("\n", " "),
        ("\r", ""),
        ('"', "`"),
        ("'", "`"),
        (";", ":"),
        ("%", " percent"),
    ]
    for c in chars:
        s = s.replace(c[0], c[1])
    return s