emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Manuel Giraud <manuel.giraud@univ-nantes.fr>
To: Jambunathan K <kjambunathan@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [BUG] Ugly checkbox on HTML export
Date: Wed, 29 Jun 2011 17:14:58 +0200	[thread overview]
Message-ID: <87ei2cbrf1.fsf@univ-nantes.fr> (raw)
In-Reply-To: <81mxh0bxqi.fsf@gmail.com> (Jambunathan K.'s message of "Wed, 29 Jun 2011 18:28:29 +0530")

[-- Attachment #1: Type: text/plain, Size: 93 bytes --]


Oops, the previous patch was applied on top on another one I have
here. This one's better.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-org-html.el-org-html-export-list-line-correct-the-ug.patch --]
[-- Type: text/x-patch, Size: 871 bytes --]

From d9533465909a822275c01450cb00afa96ddcf1b6 Mon Sep 17 00:00:00 2001
From: Manuel Giraud <manuel.giraud@univ-nantes.fr>
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


[-- Attachment #3: Type: text/plain, Size: 19 bytes --]


-- 
Manuel Giraud

  parent reply	other threads:[~2011-06-29 15:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-29 12:58 Jambunathan K
2011-06-29 15:02 ` Manuel Giraud
2011-06-29 17:59   ` Nicolas Goaziou
2011-06-29 15:14 ` Manuel Giraud [this message]
2011-06-30 21:02   ` Nicolas Goaziou
2011-07-01 15:17   ` Bastien
2011-07-01 15:49     ` Manuel Giraud
2011-07-01 15:56       ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ei2cbrf1.fsf@univ-nantes.fr \
    --to=manuel.giraud@univ-nantes.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=kjambunathan@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).