function HighlightCode()
{
    var code = document.getElementsByTagName( "code" )[0];
    if( code )
    {
        var langType = code.className;

        // Force the highlighter to colorize goose files as cpp files,
        // it's good enough for now
        // Note: fossil seems to be pulling extension from old filenames if they happened to have been renamed.
        if( langType == "language-em" || langType == "language-g" || langType == "language-g0" || langType == "language-g1" )
            code.className = "language-cpp";
    }

    hljs.highlightAll();
}
