From: André Pönitz Date: Sun, 22 Oct 2006 11:13:18 +0000 (+0000) Subject: some compile fixes, more to be expected X-Git-Tag: 1.6.10~12258 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=e0ec0f1efad1190ca88aadc07c7fc51f3e034314;p=lyx.git some compile fixes, more to be expected git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15466 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/paragraph.C b/src/paragraph.C index 23d7d11404..43a4f27222 100644 --- a/src/paragraph.C +++ b/src/paragraph.C @@ -1158,7 +1158,7 @@ string Paragraph::getID(Buffer const & buf, OutputParams const & runparams) cons InsetBase::Code lyx_code = inset->lyxCode(); if (lyx_code == InsetBase::LABEL_CODE) { string const id = static_cast(inset)->getContents(); - return "id=\"" + sgml::cleanID(buf, runparams, id) + "\""; + return "id='" + to_utf8(sgml::cleanID(buf, runparams, from_utf8(id))) + "'"; } }