mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +00:00
InsetHyperlink: Fix replacement of empty name with target
This commit is contained in:
parent
ace5dc157c
commit
ff0d96c371
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user