Add function to better guard html5 exports
commitf149060678b5d513d9533b1d86dab175bc83c3df
authorEric Abrahamsen <eric@ericabrahamsen.net>
Tue, 18 Aug 2015 00:42:35 +0000 (18 08:42 +0800)
committerBastien <bzg@gnu.org>
Tue, 18 Aug 2015 15:59:01 +0000 (18 17:59 +0200)
tree71097798b6b424db4ab0fc1d9c890b127c77aeed
parent682bb962f3934cd50d28a9b2d0b0e0fb85746a03
Add function to better guard html5 exports

* lisp/ox-html.el (org-html-html5-fancy-p): New function to check
  that we are exporting to HTML5 and that the user has requested
  fancy elements.
  (org-html--wrap-image, org-html-template, org-html-toc)
  (org-html-special-block): Use the new function.
lisp/ox-html.el