[docmaker] Replace name' attribute of
<a>' with `id'.
* src/tools/docmaker/tohtml.py (HtmlFormatter::block_enter): Do it.
This commit is contained in:
parent
26d699ed84
commit
edcf817efa
@ -1,3 +1,9 @@
|
||||
2014-11-27 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[docmaker] Replace `name' attribute of `<a>' with `id'.
|
||||
|
||||
* src/tools/docmaker/tohtml.py (HtmlFormatter::block_enter): Do it.
|
||||
|
||||
2014-11-27 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
* src/tools/docmaker/tohtml.py: Remove remaining `width' attributes.
|
||||
|
@ -558,8 +558,7 @@ class HtmlFormatter( Formatter ):
|
||||
|
||||
# place html anchor if needed
|
||||
if block.name:
|
||||
print( '<h4><a name="' + block.name + '">'
|
||||
+ block.name + '</a></h4>' )
|
||||
print( '<h4 id="' + block.name + '">' + block.name + '</h4>' )
|
||||
|
||||
# dump the block C source lines now
|
||||
if block.code:
|
||||
|
Loading…
Reference in New Issue
Block a user