New helper function for mako rendering (auto line contin.), work on codeexport_loops