Method code for $parse_lib.html_traceback()

[Turn on line numbering]
arg t, status;
var line, out, x;

out = "<h2>" + t[1][2].to_html() + "</h2>";
out += "<i><b>Thrown by " + ._html_traceback(@t[2]) + "</b></i><p>";
for x in [3 .. listlen(t)]
    out += "<code><i>" + t[x][1] + "</i>: " + ._html_traceback(@t[x]) + "</code><br>";
return $http.response(status, out + "</p>");

// Created 27-Mar-1995 as a part of ColdCore, see: @help Credit

Tlon