mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 11:52:25 +00:00
Allow double quotes in file names passed to converters.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32583 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
21686c0bbf
commit
5ad8d44ce2
@ -142,7 +142,9 @@ string const quoteName(string const & name, quote_style style)
|
||||
'\'' + name + '\'':
|
||||
'"' + name + '"';
|
||||
#else
|
||||
return '"' + name + '"';
|
||||
// According to the QProcess parser, a single double
|
||||
// quote is represented by three consecutive ones.
|
||||
return '"' + subst(name, "\"", "\"\"\"") + '"';
|
||||
#endif
|
||||
case quote_python:
|
||||
return "\"" + subst(subst(name, "\\", "\\\\"), "\"", "\\\"")
|
||||
|
Loading…
Reference in New Issue
Block a user