Revert "HTML export: Remove the name attribute from anchors that do not need it."

This reverts commit 642620ebb3.
This commit is contained in:
Carsten Dominik 2008-12-19 15:06:47 +01:00
parent 642620ebb3
commit c668817bf3
2 changed files with 1 additions and 3 deletions

View File

@ -4,8 +4,6 @@
of the <img> tag.
(org-export-format-source-code): Surround example by empty lines,
to make sure it will not be inside a paragraph.
(org-export-as-html): Remove the name attribute from anchors that
do not need it.
* org.el (org-ido-switchb): New function.

View File

@ -3281,7 +3281,7 @@ lang=\"%s\" xml:lang=\"%s\">
((match-end 2)
(setq line (replace-match
(format
"@<a id=\"%s\">@</a>"
"@<a name=\"%s\" id=\"%s\">@</a>"
(org-solidify-link-text (match-string 1 line))
(org-solidify-link-text (match-string 1 line)))
t t line)))