On 12/15/09 7:32 AM, Aaron Watters wrote:
> I haven't investigated this carefully, sorry.
>
> I just tried this page
>
> http://whiffdoc.appspot.com/docs/W1000_1200.Execution
>
> using the version of Pygments that you get
> using "easy-install" (today). And I noticed that the
> slashes in "/}}" now have line breaks after them.
I'm unclear what exactly went wrong. I tried lexing
<form action="{{get-env whiff.entry_point/}}">
using the development version of Pygments and don't see any slashes.
Can you provide the exact piece of code that gets a newline inserted
when it's lexed?
> I'm very sorry I haven't done my research on this,
> but I thought I'd send a quick note here to see if anyone
> knows what's going on. I'd like to upgrade to the latest
> Pygments. It may be my fault since I have added
> a modified lexer...
Is the modified lexer in use here? It looks like the html+jinja syntax
for the "whiff source" page.
> To fix this I found an old version of Pygments (0.10)
> and used it instead.
I don't remember any major changes to that section -- my bet is on it
being modified (using a different version would throw away your changes).
Tim
--
You received this message because you are subscribed to the Google Groups
"pocoo-libs" 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/pocoo-libs?hl=en.