emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] angle brackets around timestamps in html export


From: Matt Price
Subject: Re: [O] angle brackets around timestamps in html export
Date: Tue, 3 Sep 2013 12:24:21 -0400

On Tue, Sep 3, 2013 at 10:34 AM, Nicolas Goaziou <address@hidden> wrote:
> Matt Price <address@hidden> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]