]> git.lyx.org Git - lyx.git/commitdiff
Strip quotes from PackageOptions. Amends a77c84a0b4d5
authorJuergen Spitzmueller <spitz@lyx.org>
Thu, 6 Jun 2024 04:58:33 +0000 (06:58 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Thu, 6 Jun 2024 17:00:34 +0000 (19:00 +0200)
(cherry picked from commit 1449fbf9ae3ecc70fbc7299f8901ecc31cdff1ab)

src/TextClass.cpp
status.24x

index f6ec875167bec63b1b0186cbcdce79f05d840301..57e382dcb954e1bfc181575e63ca383642bfaa13 100644 (file)
@@ -693,7 +693,7 @@ TextClass::ReturnValues TextClass::read(Lexer & lexrc, ReadType rt)
                        string const pkg = lexrc.getString();
                        lexrc.eatLine();
                        string const options = lexrc.getString();
-                       package_options_[pkg] = options;
+                       package_options_[pkg] = trim(options, "\"");
                        break;
                }
 
index a62ec4aac1deebe985d8d3439631bc8597fc7f86..976c69baf672479a91fc0e948b1b565d9956dc34 100644 (file)
@@ -45,8 +45,11 @@ What's new
 
 - fix overflow of appendix red frame in document-bottom grey area.
 
+
 * INTERNALS
 
+- Re-allow the use of quoted argument to PackageOptions layout tag.
+
 
 * DOCUMENTATION AND LOCALIZATION