added input listeners for quotations and replace them