Remove the "arrow" from the XHTML TOC. I think I put it there near

the beginning, when the titles themselves were not being used as
links. Now they are, so it is not needed.
This commit is contained in:
Richard Heck 2013-03-27 18:28:25 -04:00
parent 9c8955ffd9
commit d3feabfc86
2 changed files with 1 additions and 16 deletions

View File

@ -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

View File

@ -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 << "&gt;";
xs << html::EndTag("a");
xs << html::EndTag("a") << html::CR();
}