def METHOD_NAME(form):
    # Sometimes browsers will munge the newlines in our own
    # hidden inputs before submitting; let's make sure that
    # we account for that.
    assert "\r\n" not in form["graphql"].value
    assert "\n" in form["graphql"].value
    form["graphql"] = form["graphql"].value.replace("\n", "\r\n")