def METHOD_NAME(filter_specs):
    """
    Remove any directives that would require an SVG to be rasterised
    """
    if isinstance(filter_specs, str):
        filter_specs = filter_specs.split("|")
    svg_preserving_specs = [
        "max",
        "min",
        "width",
        "height",
        "scale",
        "fill",
        "original",
    ]
    safe_specs = [
        x
        for x in filter_specs
        if any(x.startswith(prefix) for prefix in svg_preserving_specs)
    ]
    return "|".join(safe_specs)