mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 19:25:39 +00:00
Fix silly omission.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32258 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
d3365ebbe7
commit
6acadc3530
@ -122,7 +122,7 @@ docstring InsetRef::xhtml(XHTMLStream & xs, OutputParams const &) const
|
|||||||
// appropriate sort of text here. But to do that, we need to associate
|
// appropriate sort of text here. But to do that, we need to associate
|
||||||
// some sort of counter with the label, and we don't have that yet.
|
// some sort of counter with the label, and we don't have that yet.
|
||||||
docstring const ref = html::cleanAttr(getParam("reference"));
|
docstring const ref = html::cleanAttr(getParam("reference"));
|
||||||
string const attr = "href=\"" + to_utf8(ref) + "\"";
|
string const attr = "href=\"#" + to_utf8(ref) + "\"";
|
||||||
xs << StartTag("a", attr);
|
xs << StartTag("a", attr);
|
||||||
xs << ref;
|
xs << ref;
|
||||||
xs << EndTag("a");
|
xs << EndTag("a");
|
||||||
|
Loading…
Reference in New Issue
Block a user