Thank you very much! This lead me to reconsider my code (which builds upon another author's code).
The problem was that the IncludeMacro sanitizes HTML and this removed the empty lines. I could fix my problem. Thanks, Manuel On Thursday, September 6, 2012 6:30:01 AM UTC+2, RjOllos wrote: > > > > On Wednesday, September 5, 2012 5:15:13 AM UTC-7, Manuel Holtgrewe wrote: >> >> The highlighting itself works fine, but blank lines are stripped from the >> source code. I think that Genshi is the culprit where blank lines are >> stripped from the output by default. I also think that I have tracked down >> the problem to the Mimeview.render function and the following line: >> > > I'm wondering how your implementation is different than, for example, the > LinenoMacro (1), which doesn't seem to exhibit the issue with blank lines > being stripped. > > (1) http://trac-hacks.org/browser/linenomacro/0.11/lineno/LinenoMacro.py > -- You received this message because you are subscribed to the Google Groups "Trac Development" group. To view this discussion on the web visit https://groups.google.com/d/msg/trac-dev/-/SnMecr77mpAJ. 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/trac-dev?hl=en.
