Instead of keeping quotes used to surround an opts_value, remove them from the output uri record. This is the main purpose of this PR.
Also, support escaped inner quoted strings within the opts_value, even if it is quoted as a whole. This results in the last of the changed tests - while you're still in the inner quoted string, a lone double quote shouldn't indicate the end of the opts_value. Rather, it should just be treated as part of the inner quoted string.
Instead of keeping quotes used to surround an opts_value, remove them from the output uri record. This is the main purpose of this PR.
Also, support escaped inner quoted strings within the opts_value, even if it is quoted as a whole. This results in the last of the changed tests - while you're still in the inner quoted string, a lone double quote shouldn't indicate the end of the opts_value. Rather, it should just be treated as part of the inner quoted string.