Edward, it would be nice to slip this simple fix for a problem with
the path created by the rst code to link to stylesheets in the
leoRst.py module into 4.7 b2.  Can you add it as part of one of your
Trunk commits?

Thanks,
TL

Bug 153805:
The writeToDocutils function in leoRst.py uses the g.os_path_join
method to create the path used to link to an external stylesheet. On
MS Windows machines this creates a path with the '\' used as a
directory separator. The HTML standard requires paths with '/'
separators. The following code fixes the problem:

Line 937 in the leoRst.py file contains the statement:
   rel_path = g.os_path_join( rel_stylesheet_path, self.getOption
( 'stylesheet_name' ) )

Add the following statement immediately after it:
   rel_path = rel_path.replace( '\\', '/' )

-- 
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