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: Mon, 30 Nov 2015 16:57:27 +1030 Message-ID: <1448864847-18790-1-git-send-email-r@rkm.id.au> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56973) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a3Hvy-0005tW-Di for emacs-orgmode@gnu.org; Mon, 30 Nov 2015 01:27:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a3Hvv-0001N8-8Y for emacs-orgmode@gnu.org; Mon, 30 Nov 2015 01:27:34 -0500 Received: from sakura.rkm.id.au ([103.4.18.101]:34744) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a3Hvu-0001Mq-Sl for emacs-orgmode@gnu.org; Mon, 30 Nov 2015 01:27:31 -0500 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 --- 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