summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Frankel <rick@rickster.com>2014-01-09 23:00:52 (GMT)
committer Rick Frankel <rick@rickster.com>2014-01-09 23:00:52 (GMT)
commit36a21d9372727f4ce0627282a75246ddf172fbf8 (patch)
treef076e6879596ae39be9f6c596e53f5c2a58ae65f
parent99fdd76bb851fb460a129aafc790e226ef5ee48e (diff)
downloadorg-mode-36a21d9372727f4ce0627282a75246ddf172fbf8.zip
org-mode-36a21d9372727f4ce0627282a75246ddf172fbf8.tar.gz
Default `org-html-allow-name-attribute-in-anchors' to nil for HTML5
compatibily.
-rw-r--r--lisp/ox-html.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ox-html.el b/lisp/ox-html.el
index 7dbbfc8..db23f95 100644
--- a/lisp/ox-html.el
+++ b/lisp/ox-html.el
@@ -648,7 +648,7 @@ The function result will be used in the section format string."
;;;; 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.
By default, anchors are formatted with both \"id\" and \"name\"
attributes, when appropriate."