But the escaped one will be shown in the input so that's the one you need to be looking for indexOf, not?