Fix for multiple single quotes in a string. #50

The prior commit only dealt with the first single quote in the string.