[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
scripting challenge (was: Re: [Orgmode] HTML export without all <div ...
From: |
Giovanni Ridolfi |
Subject: |
scripting challenge (was: Re: [Orgmode] HTML export without all <div ...> tags) |
Date: |
Fri, 25 Sep 2009 07:15:03 -0700 (PDT) |
> > If I could get org-mode to export pure html without
> all the <div> tags I think I am done.
> 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
>
[OT] comp.perl.group ;-)
Carsten,
I'curious (and also a bit provocative ;-),
does your command work also for </div> tags ?
Is there a way to remove both <div> and </div>
in the same line?
cheers,
Giovanni