Fossil

Check-in [8abeb627]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix the build for -DFOSSIL_ENABLE_TH1_DOCS. The build was broken by check-in [ed2def5ffb96d74c] and on trunk by [ec56c69fe98d26d9].
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 8abeb62737c2b527113174ddc0681c220060f3862cccd1ad52834da81739e968
User & Date: drh 2019-07-29 14:19:52
References
2019-08-27
07:21
Restore legacy title handling behavior for TH1 docs (changed via check-in [8abeb62737c2b527]). check-in: 42190026 user: mistachkin tags: noJsonCgiFlag
Context
2019-07-29
15:12
Enhancements to the copy/paste SVG icon and to the global options help page. check-in: 93b0afc8 user: drh tags: trunk
14:19
Fix the build for -DFOSSIL_ENABLE_TH1_DOCS. The build was broken by check-in [ed2def5ffb96d74c] and on trunk by [ec56c69fe98d26d9]. check-in: 8abeb627 user: drh tags: trunk
00:12
Enhancements to the CGI extension documentation. check-in: f80f7530 user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/doc.c.

586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
      Blob tail;
      blob_zero(&tail);
      if( wiki_find_title(pBody, &title, &tail) ){
        style_header("%s", blob_str(&title));
        Th_Render(blob_str(&tail));
        blob_reset(&tail);
      }else{
        style_header("%h", zName);
        Th_Render(blob_str(pBody));
      }
    }else{
      Th_Render(blob_str(pBody));
    }
    if( !raw ){
      style_footer();







|







586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
      Blob tail;
      blob_zero(&tail);
      if( wiki_find_title(pBody, &title, &tail) ){
        style_header("%s", blob_str(&title));
        Th_Render(blob_str(&tail));
        blob_reset(&tail);
      }else{
        style_header("%h", zDefaultTitle);
        Th_Render(blob_str(pBody));
      }
    }else{
      Th_Render(blob_str(pBody));
    }
    if( !raw ){
      style_footer();