LPS-50685 escape/unescape right single quote
LPS-50685 add tests
LPS-50685 Changes to escape is not needed