Diff
Not logged in

Differences From Artifact [b634a7084a]:

To Artifact [682899f6dc]:


435
436
437
438
439
440
441





442
443



444
445
446
447
448
449
450
435
436
437
438
439
440
441
442
443
444
445
446


447
448
449
450
451
452
453
454
455
456







+
+
+
+
+
-
-
+
+
+







  }

  /* The file is now contained in the filebody blob.  Deliver the
  ** file to the user 
  */
  zMime = mimetype_from_name(zName);
  if( strcmp(zMime, "application/x-fossil-wiki")==0 ){
    Blob title, tail;
    if( wiki_find_title(&filebody, &title, &tail) ){
      style_header(blob_str(&title));
      wiki_convert(&tail, 0, 0);
    }else{
    style_header("Documentation");
    wiki_convert(&filebody, 0, 0);
      style_header("Documentation");
      wiki_convert(&filebody, 0, 0);
    }
    style_footer();
  }else if( strcmp(zMime, "text/plain")==0 ){
    style_header("Documentation");
    @ <blockquote><pre>
    @ %h(blob_str(&filebody))
    @ </pre></blockquote>
    style_footer();