[LyX/master] Strip quotes from PackageOptions. Amends a77c84a0b4d5
Juergen Spitzmueller
spitz at lyx.org
Thu Jun 6 04:59:07 UTC 2024
commit 1449fbf9ae3ecc70fbc7299f8901ecc31cdff1ab
Author: Juergen Spitzmueller <spitz at lyx.org>
Date: Thu Jun 6 06:58:33 2024 +0200
Strip quotes from PackageOptions. Amends a77c84a0b4d5
---
src/TextClass.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/TextClass.cpp b/src/TextClass.cpp
index 7170cc2f2c..b9c75259b4 100644
--- a/src/TextClass.cpp
+++ b/src/TextClass.cpp
@@ -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;
}
More information about the lyx-cvs
mailing list