Re: reST plugin broken with current pyblosxom-svn
will <[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.devel |
|---|---|
| Message-ID | <[email protected]> |
Just so you know, trunk is in a lot of flux and entryparsers like rst
need a lot of changes. I wouldn't recommend staying up to date with
trunk right now unless you don't mind the churn.
I have a fix for the rst one from GHOP, but hadn't checked it in yet
because I'm still futzing with the formatting chains.
/will
Philipp Kern wrote:
> Hi there,
>
> rst.py r1034 currently present in the contrib section of the SVN is
> broken with the current pyblosxom. This patch should fix it:
>
> Index: entryparsers/rst.py
> ===================================================================
> --- entryparsers/rst.py (revision 1240)
> +++ entryparsers/rst.py (working copy)
> @@ -76,8 +76,10 @@
>
> def cb_preformat(args):
> if args.get("parser", None) == PREFORMATTER_ID:
> - return parse(''.join(args['story']), args['request'])
> -
> + return parse(''.join(args['body']), args['request'])
> + else:
> + return ''.join(args['body'])
> +
> def parse(story, request):
> config = request.getConfiguration()
> initial_header_level = config.get('reST_initial_header_level', 1)
>
> Kind regards,
> Philipp Kern
>
> PS: I am not on the list (if it goes through at all)...
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> Don't miss this year's exciting event. There's still time to save $100.
> Use priority code J8TL2D2.
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Pyblosxom-devel mailing list
> Pyblosxom-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/pyblosxom-devel
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone