Overhaul the repository link functionality
- Fix regex (repositories with number or other characters were not accepted)
- Url escape template arguments by default (the "do not escape" <%== $var %> markers can be used if needed)
- Also support a generic repository type instead of only repotype:repopath in the configuration ($repotype:$repopath has priority over $repotype if both are defined)
- Cache compiled templates
%= t table => (class => 'table table-striped table-hover table-bordered table-condensed') => begin
%= t thead => begin
%= t tr => begin
%= t th => "Frame"
%= t th => "Module"
%= t th => (class => "signature-column") => "Signature"
%= t th => "Source"
%= end
%= end
% $thread->each_frame(sub { my $frame = shift;
%= t tr => begin
%= t td => (class => 'col-md-1') => begin
%= $frame->frame_number
% end
%= t td => (class => 'col-md-2') => begin
%= $frame->module_name
% end
%= t td => (class => 'col-md-5') => begin
%= $frame->function_name
% end
%= t td => (class => 'col-md-4') => begin
%= $frame->file_link
% end
% end
% });
% end