From f6cd5ab863cc9a460efb7a1dc7eb48b87d867655 Mon Sep 17 00:00:00 2001 From: Julien Rioux Date: Tue, 8 Jan 2013 15:37:21 +0100 Subject: [PATCH] Preserve BibTeX metadata in LyXHTML output (fixes #8451). --- src/BiblioInfo.cpp | 2 ++ 1 file changed, 2 insertions(+) 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