Follow-up on 188cc6165d98c9c4ee918bb4a5c12389b25edc05
Move the function convertQuotes() back to where it was but define it
differently