HTML export: Remove the name attribute from anchors that do not need it.
This commit is contained in:
parent
1b655ff4af
commit
642620ebb3
|
@ -4,6 +4,8 @@
|
|||
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.
|
||||
|
||||
|
|
|
@ -3281,7 +3281,7 @@ lang=\"%s\" xml:lang=\"%s\">
|
|||
((match-end 2)
|
||||
(setq line (replace-match
|
||||
(format
|
||||
"@<a name=\"%s\" id=\"%s\">@</a>"
|
||||
"@<a id=\"%s\">@</a>"
|
||||
(org-solidify-link-text (match-string 1 line))
|
||||
(org-solidify-link-text (match-string 1 line)))
|
||||
t t line)))
|
||||
|
|
Loading…
Reference in New Issue