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:
Richard Heck 2009-11-30 22:45:32 +00:00
parent d3365ebbe7
commit 6acadc3530

View File

@ -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");