mirror of https://github.com/yjwen/org-reveal.git
Do not xml declaration
With HTML5, an xml declaration is not necessary.
This commit is contained in:
parent
a0cb668577
commit
5d58980bb1
|
@ -892,8 +892,7 @@ contextual information."
|
|||
contents is the transcoded contents string.
|
||||
info is a plist holding export options."
|
||||
(concat
|
||||
(format "<?xml version=\"1.0\" encoding=\"utf-8\"?>
|
||||
<!DOCTYPE html>\n<html%s>\n<head>\n"
|
||||
(format "<!DOCTYPE html>\n<html%s>\n<head>\n"
|
||||
(if-format " lang=\"%s\"" (plist-get info :language)))
|
||||
"<meta charset=\"utf-8\"/>\n"
|
||||
(if-format "<title>%s</title>\n" (org-export-data (plist-get info :title) info))
|
||||
|
|
Loading…
Reference in New Issue