fix the bug of strRepr. Now single quote is escaped correctly

Have the same problem. It was not compiling without that :+1: