On Tue, 4 Nov 2008 13:17:44 -0800 (PST)
TL <[EMAIL PROTECTED]> wrote:

> 
> I'm using the rst3 plugin to create HTML files that are compiled with
> the HTML Help Workshop program from Microsoft to create .chm help
> files.  The compiler can only compile simple header tags such as:
> 
>    <h1>Header Text</h1>
> 
> but the HTML files built from rst3 contain a class definition within
> the tag such as:
> 
>    <h1 class="title">Header Text</h1>
> 
> Is there anyway to configure the rst3 plugin or docutils to not
> include the class definition in HTML header and sub-header tags?

You could filter it through something like:

python -c "import 
re,sys;sys.stdout.write(re.sub('class=\"\\w*\">','>',sys.stdin.read()))"

YEMV

Cheers -Terry

(Your Escaping May Vary :-)

> TL
> > 

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to