Hi List,

        I think I've found a little bug in org-export-as-html function in org-
html.el file.
        If you're setting an title with some escape character then the title 
tag 
in html header is set "as is".

for example if your title is foo\_bar then the title tag will be 
<title>foo\_bar</title> instead of <title>foo_bar</title>

        I tried to do the job in the attached patch.
        Hope this could help.

Pierre
diff --git a/lisp/org-html.el b/lisp/org-html.el
index 9135c73..016a181 100644
--- a/lisp/org-html.el
+++ b/lisp/org-html.el
@@ -1257,7 +1257,7 @@ lang=\"%s\" xml:lang=\"%s\">
 		      "")
 		  (or charset "iso-8859-1"))
 		 language language
-		 title
+		 (org-html-expand title)
 		 (or charset "iso-8859-1")
 		 date author description keywords
 		 style
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to