> So I tried
>
> (add-hook 'org-export-preprocess-hook (function org-export-blocks-preprocess))
>
> and I get the comment in the HTML output.

Is it valid a valid xhtml?

M-x nxml-mode 
C-c C-n (assumming rng validation is on)

I find that it suffers from the same problem that cropped up wrt special
blocks. See this thread
http://lists.gnu.org/archive/html/emacs-orgmode/2011-10/msg00046.html

I think the comment blocks are better handled as special blocks instead
of org-exp-blocks.

ps: I think number of blocks and hooks in Org reflect number of people
that worked on it :-)
-- 

Reply via email to