Jambunathan K <kjambunat...@gmail.com> writes:

> A test file and the html output are attached. The "ugly" checkbox is
> ugly only because it is unlike anyother checkboxes.

This patch should do. Hope it doesn't break any other case.

>From a316c18009b878c3edd2ef241fd42ba25b91246a Mon Sep 17 00:00:00 2001
From: Manuel Giraud <manuel.gir...@univ-nantes.fr>
Date: Wed, 29 Jun 2011 16:57:03 +0200
Subject: [PATCH 2/2] * 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 174ee4b..814b772 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

Reply via email to