Bug 415991 - Autocomplete behaves strangely when replacing selected ['"] character with another ['"]. Replace selected ['''] character instead of wrapping the selected ['''] with the quotation entered.