Fix function shortening for complex cases, like:
std::basic_ostream<A, B>& operator<< <A, B >(std::basic_ostream<A, B>&, T const&)
%= tag a => (href => "#", class => "text-danger", "data-toggle" => "tooltip", "data-original-title" => $tooltip_text) => begin
%= tag span => (class => "glyphicon glyphicon-warning-sign") => ""
% end