issue #23260: fix quote conversion