[issue3960] Section permalink html anchors are wrong

2008-09-25 Thread Ronny Haryanto

New submission from Ronny Haryanto <[EMAIL PROTECTED]>:

With sphinx svn version 66617, generated html docs have invalid html 
anchors:  instead of .

Affected file: sphinx/htmlwriter.py, lines 71 and 373.

--
assignee: georg.brandl
components: Documentation tools (Sphinx)
messages: 73783
nosy: georg.brandl, ronny
severity: normal
status: open
title: Section permalink html anchors are wrong
type: behavior
versions: Python 2.5

___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3960>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3960] Section permalink html anchors are wrong

2008-09-25 Thread Ronny Haryanto

Ronny Haryanto <[EMAIL PROTECTED]> added the comment:

Sorry, forgot to mention that this happened to the generated Django html 
documentations (django svn r9084), if it makes any difference.

After fixing the two lines (as I mentioned), all named link works again.

___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3960>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3960] Section permalink html anchors are wrong

2008-09-25 Thread Ronny Haryanto

Ronny Haryanto <[EMAIL PROTECTED]> added the comment:

I should have mentioned that this breaks in-document links, e.g. clicking 
on blah will not bring you to 

My point is that the attribute should be "name" instead of "href".

___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3960>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3960] Section permalink html anchors are wrong

2008-09-25 Thread Ronny Haryanto

Ronny Haryanto <[EMAIL PROTECTED]> added the comment:

Sorry, Georg, I just realized what you meant. You're right. But would it 
be possible to add "name" *in addition to* "href" so that clicking on in-
document links (e.g. in Table of Contents) would still work? Thanks.

___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3960>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com