Assuming this is a recent regression, then if anyone from Org wants this fixed in Emacs 24.3, they should investigate this very quickly and suggest the _minimum_ change.
See also the possibly related, unanswered http://lists.gnu.org/archive/html/emacs-orgmode/2013-03/msg00028.html Lele Gaifax wrote: > Using current emacs-snapshot[1], trying to export even the following > very simple file: > > # -*- mode: org; coding: utf-8 -*- > > * hi > > http://www.gnu.org/ > > to HTML results in this error: > > org-export-protect-sub-super: Wrong type argument: stringp, nil > > with the following traceback: > > string-match("\\([^\\\\]\\)\\([_^]\\)" nil) > org-export-protect-sub-super(nil) > org-export-normalize-links() > org-export-preprocess-string(#("# -*- mode: org; coding: utf-8 -*-\n\n* > hi\n\n http://www.gnu.org/\n" 0 34 (fontified t font-lock-fontified t face > font-lock-comment-face) 34 36 (fontified t) 36 38 (fontified t face > org-level-1) 38 40 (fontified t face org-level-1) 40 44 (fontified t) 44 62 > (fontified t org-no-flyspell t mouse-face highlight face org-link keymap > (keymap (follow-link . mouse-face) (mouse-3 . org-find-file-at-mouse) > (mouse-2 . org-open-at-mouse))) 62 63 (fontified t org-no-flyspell t > mouse-face highlight face org-link keymap (keymap (follow-link . mouse-face) > (mouse-3 . org-find-file-at-mouse) (mouse-2 . org-open-at-mouse)) > rear-nonsticky (mouse-face highlight keymap invisible intangible help-echo > org-linked-text htmlize-link)) 63 64 (fontified t)) :emph-multiline t > :for-backend html :skip-before-1st-heading nil :drawers nil :todo-keywords t > :tasks t :tags not-in-toc :priority nil :footnotes t :timestamps t > :archived-trees headline :select-tags ("export") :exclude-tags ("noexport") > :add-text nil :LaTeX-fragments t) > org-export-as-html(nil) > call-interactively(org-export-as-html) > org-export(nil) > call-interactively(org-export nil nil) > command-execute(org-export) > > If this isn't already known/fixed, should I report it as a bug? And > eventually, on Emacs itself or on org-mode? > > thanks in advance, > bye, lele. > > [1] GNU Emacs 24.3.50.1 (x86_64-pc-linux-gnu, GTK+ Version 3.4.2) of > 2013-03-04 on dex, modified by Debian