X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FBiblioInfo.cpp;h=66fcd39fe1bb1952a1fd62ee241662f1451fbea5;hb=bb80bd78f981c888efcc030168bd4e366b0ca6cd;hp=2b9911ea8930e0805dfe181b9ac0f169005685d4;hpb=daba8bda2e60e9e3b4c616117c81c5ad5ada941d;p=lyx.git diff --git a/src/BiblioInfo.cpp b/src/BiblioInfo.cpp index 2b9911ea89..66fcd39fe1 100644 --- a/src/BiblioInfo.cpp +++ b/src/BiblioInfo.cpp @@ -129,10 +129,14 @@ docstring convertLaTeXCommands(docstring const & str) scanning_cmd = false; } - // was the last character a \? If so, then this is something like: \\, - // or \$, so we'll just output it. That's probably not always right... + // was the last character a \? If so, then this is something like: + // \\ or \$, so we'll just output it. That's probably not always right... if (escaped) { - ret += ch; + // exception: output \, as THIN SPACE + if (ch == ',') + ret.push_back(0x2009); + else + ret += ch; val = val.substr(1); escaped = false; continue;