Explorar o código

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 %!s(int64=16) %!d(string=hai) anos
pai
achega
03d147455a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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