On 2009-04-19, Tuomas Räsänen wrote:

> In version 0.6.1 sphinx/writers/html.py HTMLTranslator.depart_title does
> not take into account the situation where a title is a backref-link to
> toc and has also a permalink, i.e. the text of h-tag consists of two
> separate links.

> Therefore Sphinx's html-builder produces nested a-tags (not valid XHTML):

> I'm quite new to Sphinx and I'm not sure if there is something else I
> should take into account, but I made my patch-proposal. I tried to
> change as little as possible.

IMO, permalinks are not needed at all if you have backrefs: the backref
takes you to the line in the toc which links to exacly the same
position as the permalink.

Günter



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to