From 7833f02b8858d026fa72278e8210924ba727027f Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Mon, 18 Mar 2013 18:08:31 -0400 Subject: [PATCH] Fix bug #8597: Output only (ref) for \eqref, not: equation (ref). (cherry picked from commit 5f0e82b72d25e1f3af9e102bff3b87e43621df8f) --- src/insets/InsetRef.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/insets/InsetRef.cpp b/src/insets/InsetRef.cpp index 78e4fa1de4..d38e9645db 100644 --- a/src/insets/InsetRef.cpp +++ b/src/insets/InsetRef.cpp @@ -220,7 +220,7 @@ docstring InsetRef::xhtml(XHTMLStream & xs, OutputParams const &) const // normally would be "on page #", but we have no pages display_string = _("elsewhere"); else if (cmd == "eqref") - display_string = bformat(from_ascii("equation (%1$s)"), value); + display_string = '(' + value + ')'; else if (cmd == "formatted" // we don't really have the ability to handle these // properly in XHTML output -- 2.39.5