From e0ec0f1efad1190ca88aadc07c7fc51f3e034314 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Sun, 22 Oct 2006 11:13:18 +0000 Subject: [PATCH] some compile fixes, more to be expected git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15466 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/paragraph.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))) + "'"; } } -- 2.39.5