[LyX/master] fix get_quoted_value
Jürgen Spitzmüller
jspitzm at gmail.com
Thu Aug 15 13:28:16 UTC 2024
Am Donnerstag, dem 15.08.2024 um 13:03 +0100 schrieb José Matos:
> Honestly here the code, in this context, makes more sense like this:
>
> if val.startswith('"') and val.endswith('"'):
> val = val[1:-1]
>
> So it only makes sense to remove both at once.
Yes, I agree.
> Again on practice the
> cases where this fails should not happen, unless there is something
> like
>
> \"
>
> where the last double quote will be wrongly removed. The issue is
> that, in principle, lyx should never write this code.
I also think so.
--
Jürgen
More information about the lyx-devel
mailing list