Re: [O] [BUG] Ugly checkbox on HTML export
Manuel Giraud writes: > Nicolas' patch is already applied and far more complete than mine. So > I guess it's decided ;-) Great -- thanks for the update! -- Bastien
Re: [O] [BUG] Ugly checkbox on HTML export
Bastien writes: > Hi Manuel, > > Manuel Giraud writes: > >> Oops, the previous patch was applied on top on another one I have >> here. This one's better. > > I let Nicolas decide on this one. Nicolas' patch is already applied and far more complete than mine. So I guess it's decided ;-) -- Manuel Giraud
Re: [O] [BUG] Ugly checkbox on HTML export
Hi Manuel, Manuel Giraud writes: > Oops, the previous patch was applied on top on another one I have > here. This one's better. I let Nicolas decide on this one. -- Bastien
Re: [O] [BUG] Ugly checkbox on HTML export
Hello, Manuel Giraud writes: > Oops, the previous patch was applied on top on another one I have > here. This one's better. I've pushed a fix for that problem in git master. Spaces between counters and check-boxes should now be supported. Regards, -- Nicolas Goaziou
Re: [O] [BUG] Ugly checkbox on HTML export
Hello, Manuel Giraud writes: > Jambunathan K 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. The "problem" is deeper than that. At the moment [@6] [ ] isn't recognized as a valid check-box, while [@6][ ] is. Proof: try to C-c C-c the ugly checkbox. Anyhow, for now, when there is both a counter and a checkbox in the item, you have to stick them. It will then export fine. Regards, -- Nicolas Goaziou
Re: [O] [BUG] Ugly checkbox on HTML export
Oops, the previous patch was applied on top on another one I have here. This one's better. >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
Re: [O] [BUG] Ugly checkbox on HTML export
Jambunathan K 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 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