浏览代码

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 年之前
父节点
当前提交
03d147455a
共有 1 个文件被更改,包括 1 次插入1 次删除
  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