[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: HTML export without all <div ...> tags
From: |
Matt Lundin |
Subject: |
[Orgmode] Re: HTML export without all <div ...> tags |
Date: |
Fri, 25 Sep 2009 10:06:52 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (darwin) |
Carsten Dominik <address@hidden> writes:
> On Sep 25, 2009, at 2:00 PM, Detlef Steuer wrote:
>
>> Is there a way to get rid of all div tags in exported html?
>
> I guess the easiest would be to just post-process the html file
> produced by Org. For example with perl (untested):
>
> perl -ap -e 's/<div [^>]*>//g' orgoutput.html > simple.html
So simple and elegant. It's amazing how many simple tricks you learn by
hanging around this list. :)
- Matt