Bladeren bron

Default `org-html-allow-name-attribute-in-anchors' to nil for HTML5
compatibily.

Rick Frankel 12 jaren geleden
bovenliggende
commit
36a21d9372
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      lisp/ox-html.el

+ 1 - 1
lisp/ox-html.el

@@ -648,7 +648,7 @@ The function result will be used in the section format string."
 
 
 ;;;; HTML-specific
 ;;;; HTML-specific
 
 
-(defcustom org-html-allow-name-attribute-in-anchors t
+(defcustom org-html-allow-name-attribute-in-anchors nil
   "When nil, do not set \"name\" attribute in anchors.
   "When nil, do not set \"name\" attribute in anchors.
 By default, anchors are formatted with both \"id\" and \"name\"
 By default, anchors are formatted with both \"id\" and \"name\"
 attributes, when appropriate."
 attributes, when appropriate."