mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-06 00:10:59 +00:00
* src/support/filetools.C
(makeLatexName): Exclude ", otherwise we would trigger the same problem of unbalanced quotes as in bug 3266 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17336 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
dc61ab467a
commit
914e698b8d
@ -120,7 +120,7 @@ string const makeLatexName(string const & file)
|
|||||||
// ok so we scan through the string twice, but who cares.
|
// ok so we scan through the string twice, but who cares.
|
||||||
string const keep = "abcdefghijklmnopqrstuvwxyz"
|
string const keep = "abcdefghijklmnopqrstuvwxyz"
|
||||||
"ABCDEFGHIJKLMNOPQRSTUVWXYZ"
|
"ABCDEFGHIJKLMNOPQRSTUVWXYZ"
|
||||||
"@!\"'()*+,-./0123456789:;<=>?[]`|";
|
"@!'()*+,-./0123456789:;<=>?[]`|";
|
||||||
|
|
||||||
string::size_type pos = 0;
|
string::size_type pos = 0;
|
||||||
while ((pos = name.find_first_not_of(keep, pos)) != string::npos)
|
while ((pos = name.find_first_not_of(keep, pos)) != string::npos)
|
||||||
|
Loading…
Reference in New Issue
Block a user