diff --git a/src/BiblioInfo.cpp b/src/BiblioInfo.cpp index 533941dddb..4ad119cefd 100644 --- a/src/BiblioInfo.cpp +++ b/src/BiblioInfo.cpp @@ -496,7 +496,9 @@ docstring BibTeXInfo::expandFormat(string const & format, } else { docstring const val = getValueForKey(key, before, after, dialog, xref, lang); + ret += from_ascii("{!!}"); ret += val; + ret += from_ascii("{!!}"); } } else { // beginning of key