فهرست منبع

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