]> git.lyx.org Git - features.git/commitdiff
* src/support/filetools.C
authorGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Sun, 25 Feb 2007 09:00:28 +0000 (09:00 +0000)
committerGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Sun, 25 Feb 2007 09:00:28 +0000 (09:00 +0000)
(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

src/support/filetools.C

index 2a9caa6867aaa4941208ad096ff3b03cd9178ba1..a563df8805c24c12208d9e549f194da50fb60eee 100644 (file)
@@ -120,7 +120,7 @@ string const makeLatexName(string const & file)
        // ok so we scan through the string twice, but who cares.
        string const keep = "abcdefghijklmnopqrstuvwxyz"
                "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
-               "@!\"'()*+,-./0123456789:;<=>?[]`|";
+               "@!'()*+,-./0123456789:;<=>?[]`|";
 
        string::size_type pos = 0;
        while ((pos = name.find_first_not_of(keep, pos)) != string::npos)