Fossil SCM

/mimetype_list page now outputs custom mimetypes using %h formatting instead of %s, per forum feedback.

stephan 2020-01-23 18:00 mimetypes-setting
Commit 23a92a27cfbb3619a2e0881e0794548929f16130c38cb6d8b817722da60e71e1
1 file changed +1 -1
+1 -1
--- src/doc.c
+++ src/doc.c
@@ -481,11 +481,11 @@
481481
** work done in mimetype_from_name_custom().
482482
*/
483483
@ <h1>Repo-specific mimetypes</h1>
484484
@ The following extention-to-mimetype mappings are defined via the
485485
@ <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>
487487
fossil_free(zCustomList);
488488
}
489489
style_footer();
490490
}
491491
492492
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button