From 3efcfa3cf1d292f04d4b8d88f2880c0dea5d643b Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Thu, 18 Mar 2010 18:12:30 +0000 Subject: [PATCH] Use something simpler for the TOC links in XHTML. Some browsers don't like the ⇘ entity. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33792 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/InsetFloatList.cpp | 2 +- src/insets/InsetTOC.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/insets/InsetFloatList.cpp b/src/insets/InsetFloatList.cpp index 432d2c0f5e..52e84e27dc 100644 --- a/src/insets/InsetFloatList.cpp +++ b/src/insets/InsetFloatList.cpp @@ -235,7 +235,7 @@ docstring InsetFloatList::xhtml(XHTMLStream &, OutputParams const &) const { << html::StartTag("a", parattr) // FIXME XHTML // There ought to be a simple way to customize this. - << XHTMLStream::NextRaw() << "⇘" + << XHTMLStream::NextRaw() << ">" << html::EndTag("a"); xs << html::EndTag("div"); } diff --git a/src/insets/InsetTOC.cpp b/src/insets/InsetTOC.cpp index c1ead0f114..fae28ea21f 100644 --- a/src/insets/InsetTOC.cpp +++ b/src/insets/InsetTOC.cpp @@ -161,7 +161,7 @@ docstring InsetTOC::xhtml(XHTMLStream &, OutputParams const & op) const // FIXME XHTML // There ought to be a simple way to customize this. // Maybe if we had an InsetLayout for TOC... - xs << XHTMLStream::NextRaw() << "⇘"; + xs << XHTMLStream::NextRaw() << ">"; xs << html::EndTag("a"); } for (int i = lastdepth; i > 0; --i) -- 2.39.2