client: Handle newlines in Ignore rule scope edit