From ff0d96c3719bc46b1f61a0e858a1dae039cc8f0c Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Wed, 8 Feb 2017 09:17:14 +0100 Subject: [PATCH] InsetHyperlink: Fix replacement of empty name with target --- src/insets/InsetHyperlink.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/insets/InsetHyperlink.cpp b/src/insets/InsetHyperlink.cpp index 8405c48440..e036574cd2 100644 --- a/src/insets/InsetHyperlink.cpp +++ b/src/insets/InsetHyperlink.cpp @@ -162,7 +162,7 @@ void InsetHyperlink::latex(otexstream & os, } // end if (!url.empty()) if (!name.empty()) { - name = params().prepareCommand(runparams, getParam("name"), + name = params().prepareCommand(runparams, name, ParamInfo::HANDLING_LATEXIFY); // replace the tilde by the \sim character as suggested in the // LaTeX FAQ for URLs -- 2.39.2