mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
some compile fixes, more to be expected
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15466 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
eaa81aa13e
commit
e0ec0f1efa
@ -1158,7 +1158,7 @@ string Paragraph::getID(Buffer const & buf, OutputParams const & runparams) cons
|
|||||||
InsetBase::Code lyx_code = inset->lyxCode();
|
InsetBase::Code lyx_code = inset->lyxCode();
|
||||||
if (lyx_code == InsetBase::LABEL_CODE) {
|
if (lyx_code == InsetBase::LABEL_CODE) {
|
||||||
string const id = static_cast<InsetCommand const *>(inset)->getContents();
|
string const id = static_cast<InsetCommand const *>(inset)->getContents();
|
||||||
return "id=\"" + sgml::cleanID(buf, runparams, id) + "\"";
|
return "id='" + to_utf8(sgml::cleanID(buf, runparams, from_utf8(id))) + "'";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user