Hello. How to control whitespace inside a macro?
I have the following jinja2 macro http://pastebin.com/CDsT2wMw, and when net_gw or net_bcast is not present I got an empty line, like here : http://pastebin.com/q3SsTxs8 , but I would like to have the empty line removed from the final replacement and have the output as here: http://pastebin.com/vhDfT4mA Is it possible to do that? Regards, --janis -- You received this message because you are subscribed to the Google Groups "pocoo-libs" group. To view this discussion on the web visit https://groups.google.com/d/msg/pocoo-libs/-/Ne4-ZVk4qb8J. 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.
