Variable: org-html-allow-name-attribute-in-anchors

org-html-allow-name-attribute-in-anchors is a customizable variable defined in ox-html.el.gz.

Value

nil

Documentation

When nil, do not set "name" attribute in anchors.

By default, when appropriate, anchors are formatted with "id" but without "name" attribute.

This variable was added, or its default value changed, in Org version
8.0.

Source Code

;; Defined in /usr/src/emacs/lisp/org/ox-html.el.gz
;;;; HTML-specific

(defcustom org-html-allow-name-attribute-in-anchors nil
  "When nil, do not set \"name\" attribute in anchors.
By default, when appropriate, anchors are formatted with \"id\"
but without \"name\" attribute."
  :group 'org-export-html
  :version "24.4"
  :package-version '(Org . "8.0")
  :type 'boolean)