Fossil

Diff
Login

Differences From Artifact [67db21d08a]:

To Artifact [2ba1a43767]:


525
526
527
528
529
530
531

532

533
534

535
536
537
538
539
540
541
525
526
527
528
529
530
531
532

533
534
535
536
537
538
539
540
541
542
543







+
-
+


+







    style_header("Documentation");
    @ <blockquote><pre>
    @ %h(blob_str(&filebody))
    @ </pre></blockquote>
    style_footer();
  }else if( db_get_boolean("th1-docs", 0) &&
            fossil_strcmp(zMime, "application/x-th1")==0 ){
    char *zHtml = htmlize(zName, -1);
    style_header("Documentation");
    style_header(zHtml);
    Th_Render(blob_str(&filebody));
    style_footer();
    fossil_free(zHtml);
  }else{
    cgi_set_content_type(zMime);
    cgi_set_content(&filebody);
  }
  return;

doc_not_found: