Re: [O] [PATCH] lisp/ox-html.el: reorder output of meta data in head

2015-06-09 Thread Nicolas Goaziou
Hello,

apers...@lbl.gov writes:

> * lisp/ox-html.el (org-html--build-meta-info ): charset and viewport
>   meta data should come first in `head'. As mentioned for example in:
>   - https://code.google.com/p/doctype-mirror/wiki/MetaCharsetAttribute
>   - http://getbootstrap.com/getting-started/#template
>   Only reordered output, no other code changes.

Applied. Thank you.


Regards,

-- 
Nicolas Goaziou



Re: [O] [PATCH] lisp/ox-html.el: reorder output of meta data in head

2015-06-08 Thread Arun Persaud
Hi

just as a quick follow up. I found this earlier message on the topic

http://thread.gmane.org/gmane.emacs.orgmode/84306/focus=84355

I would like to push for a change though. I don't have a test case where
charset doesn't work, but
https://code.google.com/p/doctype-mirror/wiki/MetaCharsetAttribute
claims that a title tag before a charset tag would not work in all
browsers which would be nice and seems easy to fix.

Arun



[O] [PATCH] lisp/ox-html.el: reorder output of meta data in head

2015-06-08 Thread apersaud
From: Arun Persaud 

* lisp/ox-html.el (org-html--build-meta-info ): charset and viewport
  meta data should come first in `head'. As mentioned for example in:
  - https://code.google.com/p/doctype-mirror/wiki/MetaCharsetAttribute
  - http://getbootstrap.com/getting-started/#template
  Only reordered output, no other code changes.

TINYCHANGE
---
 lisp/ox-html.el | 30 +++---
 1 file changed, 15 insertions(+), 15 deletions(-)

diff --git a/lisp/ox-html.el b/lisp/ox-html.el
index 75c6993..d50ff5e 100644
--- a/lisp/ox-html.el
+++ b/lisp/ox-html.el
@@ -1701,7 +1701,6 @@ INFO is a plist used as a communication channel."
 'mime-charset))
 "iso-8859-1")))
 (concat
- (format "%s\n" title)
  (when (plist-get info :time-stamp-file)
(format-time-string
(concat "