Fixing crash on mismatched quote marks

We assume that the user forgot the final one.