diff --git a/src/mod_avatar.erl b/src/mod_avatar.erl index 10c7e619c..a6c56f968 100644 --- a/src/mod_avatar.erl +++ b/src/mod_avatar.erl @@ -481,12 +481,9 @@ mod_doc() -> "the list of supported formats is detected at compile time " "depending on the image libraries installed in the system."), example => - [{?T("In this example avatars in WebP format are " - "converted to JPEG, all other formats are " - "converted to PNG:"), ["convert:", " webp: jpg", - " default: png"]}]}}, + " default: png"]}}, {rate_limit, #{value => ?T("Number"), desc => diff --git a/src/mod_http_fileserver.erl b/src/mod_http_fileserver.erl index 287fce624..f1639569c 100644 --- a/src/mod_http_fileserver.erl +++ b/src/mod_http_fileserver.erl @@ -522,12 +522,11 @@ mod_doc() -> ?T("Specify mappings of extension to content type. " "There are several content types already defined. " "With this option you can add new definitions " - "or modify existing ones."), + "or modify existing ones. The default values are:"), example => - [{?T("The default value is shown in the example below:"), - ["content_types:"| + ["content_types:"| [" " ++ binary_to_list(E) ++ ": " ++ binary_to_list(T) - || {E, T} <- ?DEFAULT_CONTENT_TYPES]]}]}}, + || {E, T} <- ?DEFAULT_CONTENT_TYPES]]}}, {default_content_type, #{value => ?T("Type"), desc =>