From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ruben Maher Subject: [PATCH] ox-html.el: Add lang attribute to html tag Date: Tue, 1 Dec 2015 07:37:10 +1030 Message-ID: <1448917630-5453-2-git-send-email-r@rkm.id.au> References: <1448864847-18790-1-git-send-email-r@rkm.id.au> <1448917630-5453-1-git-send-email-r@rkm.id.au> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37034) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a3Vfn-0006Oo-VM for emacs-orgmode@gnu.org; Mon, 30 Nov 2015 16:07:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a3Vfd-0003AU-8V for emacs-orgmode@gnu.org; Mon, 30 Nov 2015 16:07:47 -0500 Received: from sakura.rkm.id.au ([103.4.18.101]:52270) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a3Vfc-0003A8-Nx for emacs-orgmode@gnu.org; Mon, 30 Nov 2015 16:07:37 -0500 In-Reply-To: <1448917630-5453-1-git-send-email-r@rkm.id.au> 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: emacs-orgmode@gnu.org Cc: Ruben Maher * lisp/ox-html.el (org-html-template): Add lang attribute to exported html tag. Some features of the CSS Text Module (Level 3) require this attribute to be present (for example, so that the browser knows how to hyphenate the text). For more info, please take a look here: https://drafts.csswg.org/css-text-3/#languages TINYCHANGE --- lisp/ox-html.el | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/lisp/ox-html.el b/lisp/ox-html.el index effd387..074cced 100644 --- a/lisp/ox-html.el +++ b/lisp/ox-html.el @@ -1911,10 +1911,12 @@ holding export options." (org-html-doctype info) "\n" (concat "\n") "\n" (org-html--build-meta-info info) -- 2.6.2