Only do <input>/<reply> replacement when necessary