Better handling of nested quotes. Closes #134.