Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Improve page title handling. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | dynamicTh1Docs |
| Files: | files | file ages | folders |
| SHA1: |
67d5812c7f7bc3f29e8625909fc1bc0e |
| User & Date: | mistachkin 2014-09-08 18:23:59.313 |
Context
|
2014-09-09
| ||
| 07:00 | Merge in the TH1 reinitialize command, from its branch, for testing purposes. check-in: 76ea9ee63d user: mistachkin tags: dynamicTh1Docs | |
|
2014-09-08
| ||
| 18:23 | Improve page title handling. check-in: 67d5812c7f user: mistachkin tags: dynamicTh1Docs | |
| 18:13 | Add 'th1-docs' setting to control whether or not TH1 scripts are allowed in embedded documentation files. check-in: 4f0b0a6af2 user: mistachkin tags: dynamicTh1Docs | |
Changes
Changes to src/doc.c.
| ︙ | ︙ | |||
525 526 527 528 529 530 531 |
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 ){
| > | > | 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(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:
|
| ︙ | ︙ |