InsetHyperlink: Fix replacement of empty name with target

This commit is contained in:
Juergen Spitzmueller 2017-02-08 09:17:14 +01:00
parent ace5dc157c
commit ff0d96c371

View File

@ -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