From mboxrd@z Thu Jan 1 00:00:00 1970 From: Manuel Giraud Subject: Re: [BUG] Ugly checkbox on HTML export Date: Wed, 29 Jun 2011 17:14:58 +0200 Message-ID: <87ei2cbrf1.fsf@univ-nantes.fr> References: <81mxh0bxqi.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([140.186.70.92]:58220) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QbwTm-00088r-5p for emacs-orgmode@gnu.org; Wed, 29 Jun 2011 11:15:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QbwTk-0000pr-49 for emacs-orgmode@gnu.org; Wed, 29 Jun 2011 11:15:01 -0400 Received: from smtp-tls1.univ-nantes.fr ([193.52.101.145]:34549 helo=smtp-tls.univ-nantes.fr) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QbwTj-0000pd-PH for emacs-orgmode@gnu.org; Wed, 29 Jun 2011 11:14:59 -0400 In-Reply-To: <81mxh0bxqi.fsf@gmail.com> (Jambunathan K.'s message of "Wed, 29 Jun 2011 18:28:29 +0530") 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: Jambunathan K Cc: emacs-orgmode@gnu.org --=-=-= Oops, the previous patch was applied on top on another one I have here. This one's better. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-org-html.el-org-html-export-list-line-correct-the-ug.patch >From d9533465909a822275c01450cb00afa96ddcf1b6 Mon Sep 17 00:00:00 2001 From: Manuel Giraud Date: Wed, 29 Jun 2011 17:11:16 +0200 Subject: [PATCH] * org-html.el (org-html-export-list-line): correct the ugly checkbox --- lisp/org-html.el | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lisp/org-html.el b/lisp/org-html.el index a343647..db8b42b 100644 --- a/lisp/org-html.el +++ b/lisp/org-html.el @@ -2532,7 +2532,7 @@ the alist of previous items." (string-match (concat "[ \t]*\\(\\S-+[ \t]*\\)" "\\(?:\\[@\\(?:start:\\)?\\([0-9]+\\|[A-Za-z]\\)\\]\\)?" - "\\(?:\\(\\[[ X-]\\]\\)[ \t]+\\)?" + "[ \t]*\\(?:\\(\\[[ X-]\\]\\)[ \t]+\\)?" "\\(?:\\(.*\\)[ \t]+::\\(?:[ \t]+\\|$\\)\\)?" "\\(.*\\)") line) (let* ((checkbox (match-string 3 line)) -- 1.7.5 --=-=-= -- Manuel Giraud --=-=-=--