From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: [Patch] Few small fixes to html header Date: Fri, 28 Mar 2014 08:59:07 +0100 Message-ID: References: <87vbuz1kky.fsf@neutrico-themes.pl> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53032) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTRhB-0004F1-Ht for emacs-orgmode@gnu.org; Fri, 28 Mar 2014 03:59:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WTRh6-0007nK-8X for emacs-orgmode@gnu.org; Fri, 28 Mar 2014 03:59:21 -0400 Received: from mail-wi0-f179.google.com ([209.85.212.179]:34509) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTRh5-0007nG-VR for emacs-orgmode@gnu.org; Fri, 28 Mar 2014 03:59:16 -0400 Received: by mail-wi0-f179.google.com with SMTP id f8so449415wiw.12 for ; Fri, 28 Mar 2014 00:59:14 -0700 (PDT) In-Reply-To: <87vbuz1kky.fsf@neutrico-themes.pl> (Marcin Antczak's message of "Thu, 27 Mar 2014 20:57:01 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Marcin Antczak Cc: emacs-orgmode@gnu.org --text follows this line-- --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Marcin Antczak writes: > I've attached patch below, but I'm affraid that there is something wrong > with indentation. > I'm not sure if there is problem with my settings or just entire > ox-html.el is indented badly. > > I've been trying to indent file with the default parameters. > I started Emacs with -Q parameter and as I can see there is > a .dir-locals.el in org-mode repo. > > So, everything should be ok. Unfortunately there are some differences rel= ated to indentation in my patch. > > Please review and accept this patch, or enlighten me how to set > indentation properly. > > > My patch fixes HTML meta data produced on export by ox-html.el > > 1. Meta charset definition should be set before title as document title c= an contain > some unicode symbols etc. > > 2. Added viewport declaration as described here: > > https://github.com/h5bp/html5-boilerplate/blob/v4.3.0/doc/html.md > > here: > > https://developer.apple.com/library/safari/documentation/AppleApplication= s/Reference/SafariWebContent/UsingtheViewport/UsingtheViewport.html > > 3. Fixed unnecessary "\n" at the end of Description meta. > 4. Removed unnecessary spaces in meta tags. > > > > Marcin > > =2D-=20 Rainer M. Krug email: Rainerkrugsde PGP: 0x0F52F982 --=-=-= Content-Type: application/pkcs7-signature; name=smime.p7s Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=smime.p7s MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIO4jCCBJ0w ggOFoAMCAQICEDQ96SusJzT/j8s0lPvMcFQwDQYJKoZIhvcNAQEFBQAwbzELMAkGA1UEBhMCU0Ux FDASBgNVBAoTC0FkZFRydXN0IEFCMSYwJAYDVQQLEx1BZGRUcnVzdCBFeHRlcm5hbCBUVFAgTmV0 d29yazEiMCAGA1UEAxMZQWRkVHJ1c3QgRXh0ZXJuYWwgQ0EgUm9vdDAeFw0wNTA2MDcwODA5MTBa Fw0yMDA1MzAxMDQ4MzhaMIGuMQswCQYDVQQGEwJVUzELMAkGA1UECBMCVVQxFzAVBgNVBAcTDlNh bHQgTGFrZSBDaXR5MR4wHAYDVQQKExVUaGUgVVNFUlRSVVNUIE5ldHdvcmsxITAfBgNVBAsTGGh0 dHA6Ly93d3cudXNlcnRydXN0LmNvbTE2MDQGA1UEAxMtVVROLVVTRVJGaXJzdC1DbGllbnQgQXV0 aGVudGljYXRpb24gYW5kIEVtYWlsMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsjmF pPJ9q0E7YkY3rs3BYHW8OWX5ShpHornMSMxqmNVNNRm5pELlzkniii8efNIxB8dOtINknS4p1aJk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