Browse Source

Let `org-export-html-xml-declaration' use only double quote char.

Mixing single and double quotes after the "echo" instruction seems
to result in weird display.  Using only double quote char fixes this.
Bastien Guerry 16 năm trước cách đây
mục cha
commit
03d147455a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      lisp/org-html.el

+ 1 - 1
lisp/org-html.el

@@ -61,7 +61,7 @@ by the footnotes themselves."
 
 (defcustom org-export-html-xml-declaration
   '(("html" . "<?xml version=\"1.0\" encoding=\"%s\"?>")
-    ("php" . "<?php echo '<?xml version=\"1.0\" encoding=\"%s\" ?>'; ?>"))
+    ("php" . "<?php echo \"<?xml version=\\\"1.0\\\" encoding=\\\"%s\\\" ?>\"; ?>"))
   "The extension for exported HTML files.
 %s will be replaced with the charset of the exported file.
 This may be a string, or an alist with export extensions