Przeglądaj źródła

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 lat temu
rodzic
commit
03d147455a
1 zmienionych plików z 1 dodań i 1 usunięć
  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