Fossil SCM
/mimetype_list page now outputs custom mimetypes using %h formatting instead of %s, per forum feedback.
Commit
23a92a27cfbb3619a2e0881e0794548929f16130c38cb6d8b817722da60e71e1
Parent
322643cac8465e9…
1 file changed
+1
-1
+1
-1
| --- src/doc.c | ||
| +++ src/doc.c | ||
| @@ -481,11 +481,11 @@ | ||
| 481 | 481 | ** work done in mimetype_from_name_custom(). |
| 482 | 482 | */ |
| 483 | 483 | @ <h1>Repo-specific mimetypes</h1> |
| 484 | 484 | @ The following extention-to-mimetype mappings are defined via the |
| 485 | 485 | @ <a href="%R/help?cmd=mimetypes">mimetypes setting</a>:<br> |
| 486 | - @ <textarea rows='10' cols='40' readonly>%s(zCustomList)</textarea> | |
| 486 | + @ <textarea rows='10' cols='40' readonly>%h(zCustomList)</textarea> | |
| 487 | 487 | fossil_free(zCustomList); |
| 488 | 488 | } |
| 489 | 489 | style_footer(); |
| 490 | 490 | } |
| 491 | 491 | |
| 492 | 492 |
| --- src/doc.c | |
| +++ src/doc.c | |
| @@ -481,11 +481,11 @@ | |
| 481 | ** work done in mimetype_from_name_custom(). |
| 482 | */ |
| 483 | @ <h1>Repo-specific mimetypes</h1> |
| 484 | @ The following extention-to-mimetype mappings are defined via the |
| 485 | @ <a href="%R/help?cmd=mimetypes">mimetypes setting</a>:<br> |
| 486 | @ <textarea rows='10' cols='40' readonly>%s(zCustomList)</textarea> |
| 487 | fossil_free(zCustomList); |
| 488 | } |
| 489 | style_footer(); |
| 490 | } |
| 491 | |
| 492 |
| --- src/doc.c | |
| +++ src/doc.c | |
| @@ -481,11 +481,11 @@ | |
| 481 | ** work done in mimetype_from_name_custom(). |
| 482 | */ |
| 483 | @ <h1>Repo-specific mimetypes</h1> |
| 484 | @ The following extention-to-mimetype mappings are defined via the |
| 485 | @ <a href="%R/help?cmd=mimetypes">mimetypes setting</a>:<br> |
| 486 | @ <textarea rows='10' cols='40' readonly>%h(zCustomList)</textarea> |
| 487 | fossil_free(zCustomList); |
| 488 | } |
| 489 | style_footer(); |
| 490 | } |
| 491 | |
| 492 |