org-html-format-drawer-function

org-html-format-drawer-function is a variable defined in `ox-html.el'.
Its value is
(lambda (name contents) contents)

  • This variable may be risky if used as a file-local variable.

Documentation:
Function called to format a drawer in HTML code.

The function must accept two parameters:
NAME the drawer name, like "LOGBOOK"
CONTENTS the contents of the drawer.

The function should return the string to be exported.

For example, the variable could be set to the following function
in order to mimic default behavior:

The default value simply returns the value of CONTENTS.

You can customize this variable.

This variable was introduced, or its default value was changed, in version 24.4 of Emacs.