def do_strip(s):
    """
    Removes all whitespace (tabs, spaces, and newlines) from both the left and
    right side of a string. It does not affect spaces between words.
    https://github.com/Shopify/liquid/blob/b2feeacbce8e4a718bde9bc9fa9d00e44ab32351/lib/liquid/standardfilters.rb#L92
    """
    return str(s).strip()