From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Price Subject: Re: angle brackets around timestamps in html export Date: Tue, 3 Sep 2013 12:24:21 -0400 Message-ID: References: <87d2oq3vqa.fsf@gmail.com> <87vc2i2ewj.fsf@gmail.com> <87eh962cv5.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56829) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VGtOy-0007iM-Nb for emacs-orgmode@gnu.org; Tue, 03 Sep 2013 12:24:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VGtOw-0003cE-JJ for emacs-orgmode@gnu.org; Tue, 03 Sep 2013 12:24:24 -0400 Received: from mail-ee0-x22a.google.com ([2a00:1450:4013:c00::22a]:48591) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VGtOw-0003cA-5O for emacs-orgmode@gnu.org; Tue, 03 Sep 2013 12:24:22 -0400 Received: by mail-ee0-f42.google.com with SMTP id b45so3170348eek.1 for ; Tue, 03 Sep 2013 09:24:21 -0700 (PDT) In-Reply-To: <87eh962cv5.fsf@gmail.com> 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: Nicolas Goaziou Cc: Org Mode On Tue, Sep 3, 2013 at 10:34 AM, Nicolas Goaziou wrote: > Matt Price writes: > The following should work: > > (defun matt-org-export-filter-timestamp-function (timestamp backend info) > "removes relevant brackets from a timestamp" > (when (org-export-derived-backend-p backend 'html) > (replace-regexp-in-string "&[lg]t;\\|[][]" "" timestamp))) > > (add-to-list 'org-export-filter-timestamp-functions > 'matt-org-export-filter-timestamp-function) > that did it! Thanks Nicolas.