diff --git a/lib/layouts/stdinsets.inc b/lib/layouts/stdinsets.inc index 5938cc6ee3..c247f13b77 100644 --- a/lib/layouts/stdinsets.inc +++ b/lib/layouts/stdinsets.inc @@ -213,12 +213,6 @@ InsetLayout TOC color: black; } a.tocentry:visited { color: black; } - a.tocarrow { - font-weight: bold; - text-decoration: none; - color: #909090; - } - a.tocarrow:visited { color: #C0C0C0; } EndHTMLStyle End diff --git a/src/insets/InsetTOC.cpp b/src/insets/InsetTOC.cpp index 6e0a3c0e64..331153b94c 100644 --- a/src/insets/InsetTOC.cpp +++ b/src/insets/InsetTOC.cpp @@ -144,16 +144,7 @@ void InsetTOC::makeTOCEntry(XHTMLStream & xs, Font const dummy; par.simpleLyXHTMLOnePar(buffer(), xs, ours, dummy); - xs << html::EndTag("a") << " "; - - // Now a link to the paragraph - string const parattr = "href='#" + par.magicLabel() + "' class='tocarrow'"; - xs << html::StartTag("a", parattr); - // FIXME XHTML - // There ought to be a simple way to customize this. - // Maybe if we had an InsetLayout for TOC... - xs << XHTMLStream::ESCAPE_NONE << ">"; - xs << html::EndTag("a"); + xs << html::EndTag("a") << html::CR(); }